mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-14 12:23:43 +00:00
feat: avoid using the depreciated background (#746)
This commit is contained in:
1 parent
3308d966f0
commit
bdda550b2c
3 files changed
+6
-7
No files matched your search
@@ -335,8 +335,8 @@ class ExtensionView extends GetView<ExtensionController> {
|
||||
style:
|
||||
ElevatedButton.styleFrom(shape: const StadiumBorder())
|
||||
.copyWith(
|
||||
backgroundColor: MaterialStateProperty.all(
|
||||
Get.theme.colorScheme.background)),
|
||||
backgroundColor: WidgetStateProperty.all(
|
||||
Get.theme.colorScheme.surface)),
|
||||
onPressed: () {
|
||||
Get.back();
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user