Skip to content

Commit 01618d4

Browse files
committed
SES-4616 - removing bad dimming in activity transitions
1 parent a2f2f16 commit 01618d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/src/main/java/org/thoughtcrime/securesms/ui/components/BottomSheets.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ fun BaseBottomSheet(
8181
WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = isLight
8282
// Set navigation bar color
8383
WindowCompat.getInsetsController(window, view).isAppearanceLightNavigationBars = isLight
84-
84+
8585
onDispose { window.isNavigationBarContrastEnforced = prev }
8686
} else {
8787
onDispose { }

app/src/main/res/values/themes.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<item name="colorDividerBackground">@color/gray50</item>
1717
<item name="colorPrimaryVariant">?colorPrimary</item>
1818
<item name="bottomSheetDialogTheme">@style/Theme.Session.BottomSheet</item>
19-
<item name="android:backgroundDimEnabled">true</item>
20-
<item name="android:backgroundDimAmount">0.6</item>
19+
<item name="android:backgroundDimEnabled">false</item>
20+
<item name="android:backgroundDimAmount">0</item>
2121
<item name="dialogCornerRadius">@dimen/dialog_corner_radius</item>
2222
<item name="android:alertDialogTheme">@style/ThemeOverlay.Session.AlertDialog</item>
2323
<item name="alertDialogTheme">@style/ThemeOverlay.Session.AlertDialog</item>

0 commit comments

Comments
 (0)