mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00
fix: null exception in themes
This commit is contained in:
parent
3282370f74
commit
9465d92fa0
@ -127,7 +127,7 @@ final windowsTheme = fluent_ui.ThemeData.light().copyWith(
|
||||
),
|
||||
),
|
||||
navigationPaneTheme: fluent_ui.NavigationPaneThemeData(
|
||||
backgroundColor: fluent_ui.Colors.grey[100].withOpacity(0.5),
|
||||
backgroundColor: Colors.grey[100]?.withOpacity(0.5),
|
||||
),
|
||||
);
|
||||
final windowsDarkTheme = fluent_ui.ThemeData.dark().copyWith(
|
||||
@ -137,7 +137,7 @@ final windowsDarkTheme = fluent_ui.ThemeData.dark().copyWith(
|
||||
),
|
||||
),
|
||||
navigationPaneTheme: fluent_ui.NavigationPaneThemeData(
|
||||
backgroundColor: fluent_ui.Colors.grey[900].withOpacity(0.5),
|
||||
backgroundColor: Colors.grey[900]?.withOpacity(0.5),
|
||||
),
|
||||
);
|
||||
final macosTheme = MacosThemeData.light().copyWith(
|
||||
|
Loading…
Reference in New Issue
Block a user