diff --git a/twidere/src/main/kotlin/org/mariotaku/twidere/activity/HomeActivity.kt b/twidere/src/main/kotlin/org/mariotaku/twidere/activity/HomeActivity.kt index 1c974a2cb..a8309274f 100644 --- a/twidere/src/main/kotlin/org/mariotaku/twidere/activity/HomeActivity.kt +++ b/twidere/src/main/kotlin/org/mariotaku/twidere/activity/HomeActivity.kt @@ -354,6 +354,12 @@ class HomeActivity : BaseActivity(), OnClickListener, OnPageChangeListener, Supp drawerToggleButton.visibility = View.GONE } + if (preferences.getBoolean(SharedPreferenceConstants.KEY_FAB_VISIBLE)) { + actionsButton.visibility = View.VISIBLE + } else { + actionsButton.visibility = View.GONE + } + homeContent.addOnLayoutChangeListener { v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom -> if (top != oldTop) { val fragment = leftDrawerFragment