Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hugetiny committed Jun 9, 2024
1 parent 4283bdf commit c355c07
Show file tree
Hide file tree
Showing 5 changed files with 292 additions and 260 deletions.
6 changes: 3 additions & 3 deletions ui/flutter/lib/app/modules/create/views/create_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class CreateView extends GetView<CreateController> {
decoration: BoxDecoration(
color: Theme.of(context)
.colorScheme
.background,
.surface,
borderRadius:
BorderRadius.circular(
10.0),
Expand Down Expand Up @@ -506,8 +506,8 @@ class CreateView extends GetView<CreateController> {
style:
ElevatedButton.styleFrom(shape: const StadiumBorder())
.copyWith(
backgroundColor: MaterialStateProperty.all(
Get.theme.colorScheme.background)),
backgroundColor: WidgetStateProperty.all(
Get.theme.colorScheme.surface)),
onPressed: () {
Get.back();
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
},
Expand Down
2 changes: 1 addition & 1 deletion ui/flutter/lib/app/views/open_in_new.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class OpenInNew extends StatelessWidget {
launchUrl(Uri.parse(url), mode: LaunchMode.externalApplication);
},
style: ElevatedButton.styleFrom(
backgroundColor: Get.theme.colorScheme.background,
backgroundColor: Get.theme.colorScheme.surface,
),
child: Row(
mainAxisSize: MainAxisSize
Expand Down
Loading

0 comments on commit c355c07

Please sign in to comment.