mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-19 20:34:15 +00:00
Fix #1094
This commit is contained in:
parent
d58543adcc
commit
5629020d0e
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class ProfilePreferencesFragment: BasePreferencesFragment(), SharedPreferences.O
|
|||
"photo_url" -> {
|
||||
val newName = sharedPreferences.getString(key, "") ?: ""
|
||||
if (newName != user?.profile?.imageUrl) {
|
||||
userRepository.updateUser(user, "profile.photo", newValue)
|
||||
userRepository.updateUser(user, "profile.imageUrl", newValue)
|
||||
} else {
|
||||
null
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue