summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-02-23 03:50:51 +0100
committercyBerta <cyberta@riseup.net>2018-02-23 03:50:51 +0100
commite317fd9029948a06afd0842c69a714f3d9d0862d (patch)
tree9204df269101746040c682f2a4c8f419106330df /app/src
parentad086ab192b9094278b27f94120566a7ca21dccc (diff)
#8754 disable dialog flag on cancel
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java b/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
index 25ef9161..3651cd05 100644
--- a/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
@@ -315,6 +315,7 @@ public class NavigationDrawerFragment extends Fragment {
@Override
public void onCancel(DialogInterface dialog) {
disableSwitch(BATTERY_SAVER);
+ showEnableExperimentalFeature = false;
}
})
.show();