parent
0e2a786b61
commit
98f2cd0789
1 changed files with 4 additions and 4 deletions
|
@ -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 a new issue