mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Hide toolbar in message view only
This commit is contained in:
@@ -128,7 +128,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
||||
toolbar.setLayoutParams(lp);
|
||||
|
||||
toolbar.setPopupTheme(getThemeId());
|
||||
if (hide_toolbar) {
|
||||
if (hide_toolbar && this instanceof ActivityView) {
|
||||
AppBarLayout.LayoutParams params = (AppBarLayout.LayoutParams) toolbar.getLayoutParams();
|
||||
params.setScrollFlags(AppBarLayout.LayoutParams.SCROLL_FLAG_SCROLL |
|
||||
AppBarLayout.LayoutParams.SCROLL_FLAG_ENTER_ALWAYS);
|
||||
|
||||
Reference in New Issue
Block a user