Closes #25 : text on "Cancel/Close" button not visible
This commit is contained in:
parent
20c97e1906
commit
2602f36fb8
|
@ -21,6 +21,7 @@ class CancelDismissButton extends StatelessWidget {
|
|||
ElevatedButton(
|
||||
style: ElevatedButton.styleFrom(
|
||||
primary: Theme.of(context).colorScheme.surface,
|
||||
onPrimary: Theme.of(context).brightness == Brightness.dark ? Colors.white70 : Theme.of(context).colorScheme.primary,
|
||||
),
|
||||
onPressed: !downloadFinished
|
||||
? onCancel
|
||||
|
|
Loading…
Reference in New Issue