mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 19:00:26 +01:00
Implement composer tweaks to allow for better contrast.
This commit is contained in:
committed by
Greyson Parrelli
parent
b6d1af3760
commit
a593bc0b7a
@@ -2277,6 +2277,8 @@ public class ConversationParentFragment extends Fragment
|
||||
toolbar.setTitleTextColor(toolbarTextAndIconColor);
|
||||
setToolbarActionItemTint(toolbar, toolbarTextAndIconColor);
|
||||
|
||||
WindowUtil.setNavigationBarColor(requireActivity().getWindow(), 0);
|
||||
WindowUtil.setLightNavigationBar(requireActivity().getWindow());
|
||||
} else {
|
||||
wallpaper.setImageDrawable(null);
|
||||
wallpaperDim.setVisibility(View.GONE);
|
||||
@@ -2289,6 +2291,9 @@ public class ConversationParentFragment extends Fragment
|
||||
int toolbarTextAndIconColor = getResources().getColor(R.color.signal_colorOnSurface);
|
||||
toolbar.setTitleTextColor(toolbarTextAndIconColor);
|
||||
setToolbarActionItemTint(toolbar, toolbarTextAndIconColor);
|
||||
|
||||
WindowUtil.setNavigationBarColor(requireActivity().getWindow(), ContextCompat.getColor(requireContext(), R.color.signal_colorBackground));
|
||||
WindowUtil.setLightNavigationBarFromTheme(requireActivity());
|
||||
}
|
||||
fragment.onWallpaperChanged(chatWallpaper);
|
||||
messageRequestBottomView.setWallpaperEnabled(chatWallpaper != null);
|
||||
|
||||
Reference in New Issue
Block a user