Commit 599dcead by Maurits van Beusekom

Improve debug message

parent 0dd39f85
...@@ -16,9 +16,8 @@ class MyApp extends StatelessWidget { ...@@ -16,9 +16,8 @@ class MyApp extends StatelessWidget {
IconButton( IconButton(
icon: const Icon(Icons.settings), icon: const Icon(Icons.settings),
onPressed: () { onPressed: () {
PermissionHandler() PermissionHandler().openAppSettings().then((bool hasOpened) =>
.openAppSettings() debugPrint('App Settings opened: ' + hasOpened.toString()));
.then((bool hasOpened) => debugPrint(hasOpened.toString()));
}, },
) )
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment