show edit button on own profile again

closes #1471
This commit is contained in:
Conny Duck 2019-09-07 16:34:17 +02:00
parent 0e2a786b61
commit 98f2cd0789
1 changed files with 4 additions and 4 deletions

View File

@ -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()
}
}
/**