Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
🐛 Uncheck and disable "trust domain" when "never ask" is checked
Browse files Browse the repository at this point in the history
  • Loading branch information
Komposten committed Aug 25, 2019
1 parent 7d8b59c commit c61e808
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pages/home/bottom_sheets/confirm_open_url.dart
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class OBConfirmOpenUrlBottomSheetState extends State<OBConfirmOpenUrlBottomSheet
height: 10,
),
OBCheckboxField(
isDisabled: !_ask,
value: !_askForHost,
onTap: _toggleDontAskForHost,
title: _localizationService.post__open_url_dont_ask_again_for,
Expand Down Expand Up @@ -142,6 +143,7 @@ class OBConfirmOpenUrlBottomSheetState extends State<OBConfirmOpenUrlBottomSheet
void _toggleDontAsk() {
setState(() {
_ask = !_ask;
_askForHost = true;
});
}

Expand Down

0 comments on commit c61e808

Please sign in to comment.