Reorder external URL setting

This commit is contained in:
tommyxchow 2022-05-23 03:18:10 -04:00
parent 7abf13186d
commit a084dbaf67

View file

@ -35,13 +35,6 @@ class GeneralSettings extends StatelessWidget {
.toList(),
),
),
SwitchListTile.adaptive(
isThreeLine: true,
title: const Text('Launch URLs in External Browser'),
subtitle: const Text('Opens links in the default external browser.'),
value: settingsStore.launchUrlExternal,
onChanged: (newValue) => settingsStore.launchUrlExternal = newValue,
),
SwitchListTile.adaptive(
title: const Text('Stream Card Thumbnails'),
value: settingsStore.showThumbnails,
@ -54,6 +47,13 @@ class GeneralSettings extends StatelessWidget {
value: settingsStore.showThumbnailUptime,
onChanged: settingsStore.showThumbnails ? (newValue) => settingsStore.showThumbnailUptime = newValue : null,
),
SwitchListTile.adaptive(
isThreeLine: true,
title: const Text('Launch URLs in External Browser'),
subtitle: const Text('Opens links in the default external browser.'),
value: settingsStore.launchUrlExternal,
onChanged: (newValue) => settingsStore.launchUrlExternal = newValue,
),
],
),
);