mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-30 21:29:36 +02:00
feat(mornye): add persistent accent color choices
This commit is contained in:
1 parent
6b53eb9c06
commit
c89601b6dc
18 files changed
+310
-39
No files matched your search
@@ -147,7 +147,10 @@ class _SpectrogramView extends StatelessWidget {
|
||||
// The plot stays black in both appearances; its controls need matching
|
||||
// contrast even when the surrounding Mornye page uses the light theme.
|
||||
return context.isMornye
|
||||
? Theme(data: MornyeTheme.build(Brightness.dark), child: card)
|
||||
? Theme(
|
||||
data: MornyeTheme.fromContext(context, brightness: Brightness.dark),
|
||||
child: card,
|
||||
)
|
||||
: card;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user