simplified code across the app and consolidated duplicated helpers
This commit is contained in:
@@ -195,7 +195,7 @@ class _PmTableViewState extends State<PmTableView> {
|
||||
required bool left,
|
||||
required bool visible,
|
||||
}) {
|
||||
final dark = Theme.of(context).brightness == Brightness.dark;
|
||||
final dark = AppTheme.isDarkMode(context);
|
||||
final color = Colors.black.withValues(alpha: dark ? 0.28 : 0.12);
|
||||
return Positioned(
|
||||
top: 0,
|
||||
|
||||
Reference in New Issue
Block a user