Skip to content

Commit

Permalink
settings: allow screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
icota committed May 9, 2023
1 parent cfc91bb commit ffeef41
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/ui/home/settings/settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,15 @@ class _SettingsPageState extends State<SettingsPage> {
),
),
SliverPadding(padding: EdgeInsets.all(marginBetweenItems)),
SliverToBoxAdapter(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
SettingText("Allow Screenshots"),
SettingToggle(s.allowScreenshots, s.setAllowScreenshots),
],
)),
SliverPadding(padding: EdgeInsets.all(marginBetweenItems)),
SliverToBoxAdapter(
child: FutureBuilder<bool>(
future: auth.isDeviceSupported(),
Expand Down

0 comments on commit ffeef41

Please sign in to comment.