mirror of
https://github.com/accelforce/Yuito
synced 2024-12-23 05:55:20 +01:00
parent
0e2a786b61
commit
98f2cd0789
@ -115,10 +115,6 @@ class AccountActivity : BottomSheetActivity(), ActionButtonActivity, HasAndroidI
|
||||
// Obtain information to fill out the profile.
|
||||
viewModel.setAccountInfo(intent.getStringExtra(KEY_ACCOUNT_ID))
|
||||
|
||||
if (viewModel.isSelf) {
|
||||
updateButtons()
|
||||
}
|
||||
|
||||
val sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this)
|
||||
animateAvatar = sharedPrefs.getBoolean("animateGifAvatars", false)
|
||||
hideFab = sharedPrefs.getBoolean("fabHide", false)
|
||||
@ -129,6 +125,10 @@ class AccountActivity : BottomSheetActivity(), ActionButtonActivity, HasAndroidI
|
||||
setupAccountViews()
|
||||
setupRefreshLayout()
|
||||
subscribeObservables()
|
||||
|
||||
if (viewModel.isSelf) {
|
||||
updateButtons()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user