diff --git a/lib/main.dart b/lib/main.dart index 0a5404da71..389a46062a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -137,7 +137,7 @@ class _MyAppState extends State { Locale('ru'), Locale('en'), // English Locale('hi'), - Locale('gu')// Hindi + Locale('gu'),// Hindi Locale('mr')// Hindi ], debugShowCheckedModeBanner: false, diff --git a/lib/screens/settings_screen.dart b/lib/screens/settings_screen.dart index ac14761d68..67d261c84c 100644 --- a/lib/screens/settings_screen.dart +++ b/lib/screens/settings_screen.dart @@ -199,10 +199,12 @@ class _SettingsScreenState extends State { onPressed: (s) async { //js.context.callMethod('open', ['https://github.com/avinashkranjan/Friday']); final result = await openUrl('https://github.com/avinashkranjan/Friday'); - if (result.exitCode == 0) { - print('URL opened!'); + int a = result.exitCode; + if (a == 0) { + print('URL opened in your system!'); + print('\n'); } else { - print('Something went wrong (exit code = ${result.exitCode}): ' + print('Something went wrong with exit code = ${result.exitCode}: ' '${result.stderr}'); }