mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
fix: popup menu item opacity
This commit is contained in:
parent
7816cb8068
commit
d115e57058
@ -226,7 +226,10 @@ class _AdaptivePopSheetListItem<T> extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 8),
|
padding: const EdgeInsets.symmetric(horizontal: 8),
|
||||||
child: IgnorePointer(child: item),
|
child: IconTheme.merge(
|
||||||
|
data: const IconThemeData(opacity: 1),
|
||||||
|
child: IgnorePointer(child: item),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -48,6 +48,9 @@ ThemeData theme(Color seed, Brightness brightness, bool isAmoled) {
|
|||||||
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(15)),
|
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(15)),
|
||||||
color: scheme.surface,
|
color: scheme.surface,
|
||||||
elevation: 4,
|
elevation: 4,
|
||||||
|
labelTextStyle: MaterialStatePropertyAll(
|
||||||
|
TextStyle(color: scheme.onSurface),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
snackBarTheme: SnackBarThemeData(
|
snackBarTheme: SnackBarThemeData(
|
||||||
behavior: SnackBarBehavior.floating,
|
behavior: SnackBarBehavior.floating,
|
||||||
|
Loading…
Reference in New Issue
Block a user