Commit 599dcead by Maurits van Beusekom

Improve debug message

parent 0dd39f85
......@@ -16,9 +16,8 @@ class MyApp extends StatelessWidget {
IconButton(
icon: const Icon(Icons.settings),
onPressed: () {
PermissionHandler()
.openAppSettings()
.then((bool hasOpened) => debugPrint(hasOpened.toString()));
PermissionHandler().openAppSettings().then((bool hasOpened) =>
debugPrint('App Settings opened: ' + 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