mirror of
https://github.com/wgh136/pixes.git
synced 2025-09-27 12:57:24 +00:00
add a setting for original image
This commit is contained in:
@@ -252,6 +252,16 @@ class _SettingsPageState extends State<SettingsPage> {
|
||||
context.to(() => const ShortcutsSettings());
|
||||
},
|
||||
)),
|
||||
buildItem(
|
||||
title: "Display the original image on the details page".tl,
|
||||
action: ToggleSwitch(
|
||||
checked: appdata.settings['showOriginalImage'],
|
||||
onChanged: (value) {
|
||||
setState(() {
|
||||
appdata.settings['showOriginalImage'] = value;
|
||||
});
|
||||
appdata.writeData();
|
||||
})),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
Reference in New Issue
Block a user