mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 00:37:47 +00:00
comments
This commit is contained in:
parent
514c19e33f
commit
71f9548343
@ -43,6 +43,7 @@ class CreateAccountManager @Inject constructor(
|
||||
prefs.setLocalNumber(userHexEncodedPublicKey)
|
||||
prefs.setRestorationTime(0)
|
||||
|
||||
// we'll rely on the config syncing in the homeActivity resume
|
||||
configFactory.keyPairChanged()
|
||||
configFactory.user?.setName(displayName)
|
||||
|
||||
|
@ -49,6 +49,7 @@ internal class PickDisplayNameViewModel(
|
||||
viewModelScope.launch(Dispatchers.IO) {
|
||||
if (loadFailed) {
|
||||
prefs.setProfileName(displayName)
|
||||
// we'll rely on the config syncing in the homeActivity resume
|
||||
configFactory.user?.setName(displayName)
|
||||
|
||||
_events.emit(Event.LoadAccountComplete)
|
||||
|
Loading…
x
Reference in New Issue
Block a user