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