mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 11:15:44 +00:00
Do not change convo status bar color on API<23
This commit is contained in:
committed by
Cody Henthorne
parent
5acbe260e9
commit
87608c6d3a
@@ -2148,7 +2148,7 @@ public class ConversationParentFragment extends Fragment
|
||||
int toolbarColor = getResources().getColor(R.color.conversation_toolbar_color_wallpaper);
|
||||
toolbar.setBackgroundColor(toolbarColor);
|
||||
// TODO [alex] LargeScreenSupport -- statusBarBox
|
||||
if (Build.VERSION.SDK_INT > 21) {
|
||||
if (Build.VERSION.SDK_INT > 23) {
|
||||
WindowUtil.setStatusBarColor(requireActivity().getWindow(), toolbarColor);
|
||||
}
|
||||
} else {
|
||||
@@ -2162,7 +2162,7 @@ public class ConversationParentFragment extends Fragment
|
||||
int toolbarColor = getResources().getColor(R.color.conversation_toolbar_color);
|
||||
toolbar.setBackgroundColor(toolbarColor);
|
||||
// TODO [alex] LargeScreenSupport -- statusBarBox
|
||||
if (Build.VERSION.SDK_INT > 21) {
|
||||
if (Build.VERSION.SDK_INT > 23) {
|
||||
WindowUtil.setStatusBarColor(requireActivity().getWindow(), toolbarColor);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user