mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-16 07:06:14 +08:00
reserve btn
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -111,10 +111,12 @@ Widget addWidget(
|
||||
return FilledButton.tonal(
|
||||
style: FilledButton.styleFrom(
|
||||
foregroundColor: isReserved
|
||||
? theme.colorScheme.onSurfaceVariant
|
||||
? theme.colorScheme.onSurface
|
||||
.withOpacity(0.38)
|
||||
: null,
|
||||
backgroundColor: isReserved
|
||||
? theme.colorScheme.onInverseSurface
|
||||
? theme.colorScheme.onSurface
|
||||
.withOpacity(0.12)
|
||||
: null,
|
||||
visualDensity: VisualDensity.compact,
|
||||
padding: const EdgeInsets.symmetric(
|
||||
|
||||
Reference in New Issue
Block a user