fix example

This commit is contained in:
Salvatore Giordano
2020-11-09 10:41:57 +01:00
parent 59359784fb
commit 13b909b5fb
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -69,7 +69,8 @@ void main() async {
final client = Client(
's2dxdhpxd94g',
logLevel: Level.INFO,
showLocalNotification: (m, c) {},
showLocalNotification:
(!kIsWeb && Platform.isAndroid) ? showLocalNotification : null,
persistenceEnabled: true,
);