mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-13 05:16:43 +02:00
Fix button highlight visibility on black theme (#2039)
This commit is contained in:
@ -182,7 +182,10 @@ class _AppPageState extends State<AppPage> {
|
||||
Brightness.light
|
||||
? Theme.of(context).primaryColor
|
||||
: Theme.of(context).primaryColorLight)
|
||||
.withAlpha(20)
|
||||
.withAlpha(Theme.of(context).brightness ==
|
||||
Brightness.light
|
||||
? 20
|
||||
: 40)
|
||||
: null),
|
||||
padding: settingsProvider.highlightTouchTargets
|
||||
? const EdgeInsetsDirectional.fromSTEB(12, 6, 12, 6)
|
||||
|
@ -481,7 +481,10 @@ class AppsPageState extends State<AppsPage> {
|
||||
? (Theme.of(context).brightness == Brightness.light
|
||||
? Theme.of(context).primaryColor
|
||||
: Theme.of(context).primaryColorLight)
|
||||
.withAlpha(20)
|
||||
.withAlpha(Theme.of(context).brightness ==
|
||||
Brightness.light
|
||||
? 20
|
||||
: 40)
|
||||
: null),
|
||||
padding: settingsProvider.highlightTouchTargets
|
||||
? const EdgeInsetsDirectional.fromSTEB(12, 0, 12, 0)
|
||||
|
Reference in New Issue
Block a user