Skip to content

Commit 7976c17

Browse files
authored
sync: smoother process user data handling (fixes #11398) (#11358)
1 parent 01caf87 commit 7976c17

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ android {
1111
applicationId "org.ole.planet.myplanet"
1212
minSdk = 26
1313
targetSdk = 36
14-
versionCode = 4647
15-
versionName = "0.46.47"
14+
versionCode = 4648
15+
versionName = "0.46.48"
1616
ndkVersion = '26.3.11579264'
1717
vectorDrawables.useSupportLibrary = true
1818
}

app/src/main/java/org/ole/planet/myplanet/ui/sync/ProcessUserDataActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ abstract class ProcessUserDataActivity : BasePermissionActivity(), OnSuccessList
300300
}
301301

302302
fun saveUserInfoPref(settings: SharedPreferences, password: String?, user: RealmUser?) {
303-
this.settings = settings ?: appPreferences
303+
this.settings = settings
304304
settings.edit {
305305
putString("userId", user?.id)
306306
putString("name", user?.name)

0 commit comments

Comments
 (0)