mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Refactor reactions dialog to match Material3 spec.
This commit is contained in:
committed by
Greyson Parrelli
parent
0e7ace0da4
commit
56a2b27745
@@ -161,8 +161,12 @@ public final class FullscreenHelper {
|
||||
}
|
||||
|
||||
public void showSystemUI() {
|
||||
activity.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE |
|
||||
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION |
|
||||
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
|
||||
showSystemUI(activity.getWindow());
|
||||
}
|
||||
|
||||
public static void showSystemUI(@NonNull Window window) {
|
||||
window.getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE |
|
||||
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION |
|
||||
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user