We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e8949 commit af1e8f3Copy full SHA for af1e8f3
lib/views/Settings part/AboutPage.dart
@@ -128,14 +128,11 @@ class AboutAppPage extends StatelessWidget {
128
children: [
129
GestureDetector(
130
onLongPress: () {
131
- if (isFirstTry &&
132
- !GetStorage().read(kDiscoveredDeveloperOption)) {
+ if (isFirstTry && !setting.isDeveloperOption) {
133
Fluttertoast.showToast(msg: '(⌐■_■)');
134
isFirstTry = false;
135
} else {
136
- //TODO: Check this, try to minimize GetStorage calling
137
- // method already defined in provider
138
- if (!GetStorage().read(kDiscoveredDeveloperOption)) {
+ if (!setting.isDeveloperOption) {
139
Fluttertoast.showToast(
140
msg: 'Developer mode discovered',
141
toastLength: Toast.LENGTH_LONG,
0 commit comments