mirror of
https://github.com/immich-app/immich.git
synced 2026-03-22 13:29:21 +03:00
chore: color tweak
This commit is contained in:
@@ -237,11 +237,14 @@ class _DriftEditImagePageState extends ConsumerState<DriftEditImagePage> with Ti
|
|||||||
title: Text('editor_discard_edits_title'.tr()),
|
title: Text('editor_discard_edits_title'.tr()),
|
||||||
content: Text('editor_discard_edits_prompt'.tr()),
|
content: Text('editor_discard_edits_prompt'.tr()),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(onPressed: () => Navigator.of(context).pop(false), child: Text('cancel'.tr())),
|
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () => Navigator.of(context).pop(true),
|
onPressed: () => Navigator.of(context).pop(false),
|
||||||
child: Text('editor_discard_edits_confirm'.tr()),
|
style: ButtonStyle(
|
||||||
|
foregroundColor: WidgetStateProperty.all(context.themeData.colorScheme.onSurfaceVariant),
|
||||||
|
),
|
||||||
|
child: Text('cancel'.tr()),
|
||||||
),
|
),
|
||||||
|
TextButton(onPressed: () => Navigator.of(context).pop(true), child: Text('confirm'.tr())),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
) ??
|
) ??
|
||||||
@@ -456,7 +459,7 @@ class _AspectRatioButton extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
onPressed: onPressed,
|
onPressed: onPressed,
|
||||||
),
|
),
|
||||||
Text(label.tr(), style: context.textTheme.displayMedium),
|
Text(label, style: context.textTheme.displayMedium),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user