Skip to content

Commit

Permalink
settings: Translate "color scheme" setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tseli0s committed Dec 23, 2023
1 parent 0348159 commit a9b2a72
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/settings_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@ class _SettingsScreenState extends State<SettingsScreen> {
),
ListTile(
leading: const Icon(Icons.colorize),
title: const Text("Color scheme"),
subtitle: const Text(
"Select the color scheme used by the application",
),
title: Text(AppLocalizations.of(context)!.colorScheme),
subtitle: Text(AppLocalizations.of(context)!.selectColorSchemeUsed),
onTap: () async {
final result = await colorPickerDialog(context);
if (result) {
Expand All @@ -62,7 +60,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
borderRadius: BorderRadius.circular(10.0),
),
action: SnackBarAction(
label: "Close",
label: AppLocalizations.of(context)!.close,
onPressed: () {},
),
);
Expand Down

0 comments on commit a9b2a72

Please sign in to comment.