fix: android tv bottom sheet back button
This commit is contained in:
@@ -27,6 +27,8 @@ ThemeData monoTheme({required bool dark, bool oled = false}) {
|
||||
textMuted: const Color(0x99111111),
|
||||
);
|
||||
|
||||
final isDark = dark || oled;
|
||||
|
||||
final buttonStyle = ButtonStyle(
|
||||
padding: const WidgetStatePropertyAll(EdgeInsets.symmetric(horizontal: 18, vertical: 14)),
|
||||
elevation: const WidgetStatePropertyAll(0),
|
||||
@@ -35,8 +37,6 @@ ThemeData monoTheme({required bool dark, bool oled = false}) {
|
||||
shape: const WidgetStatePropertyAll(StadiumBorder()),
|
||||
);
|
||||
|
||||
final isDark = dark || oled;
|
||||
|
||||
final base = ThemeData(
|
||||
useMaterial3: true,
|
||||
brightness: isDark ? Brightness.dark : Brightness.light,
|
||||
|
||||
Reference in New Issue
Block a user