Emphasize artworks from following artists

This commit is contained in:
wgh19
2024-06-14 12:38:50 +08:00
parent 21fe14f88b
commit 790ed54d5b
4 changed files with 30 additions and 2 deletions

View File

@@ -273,6 +273,19 @@ class _SettingsPageState extends State<SettingsPage> {
});
appdata.writeData();
})),
buildItem(
title: "Emphasize artworks from following artists".tl,
subtitle: "The border of the artworks will be darker".tl,
action: ToggleSwitch(
checked:
appdata.settings['emphasizeArtworksFromFollowingArtists'],
onChanged: (value) {
setState(() {
appdata.settings[
'emphasizeArtworksFromFollowingArtists'] = value;
});
appdata.writeData();
})),
],
),
);