Skip to content

Commit

Permalink
Merge pull request #412 from jaivsh/master
Browse files Browse the repository at this point in the history
Resolved: Support development option now functioning.
  • Loading branch information
avinashkranjan authored Aug 9, 2023
2 parents 4936b4c + 7a0fed3 commit 8b8065b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class _MyAppState extends State<MyApp> {
Locale('ru'),
Locale('en'), // English
Locale('hi'),
Locale('gu')// Hindi
Locale('gu'),// Hindi
Locale('mr')// Hindi
],
debugShowCheckedModeBanner: false,
Expand Down
8 changes: 5 additions & 3 deletions lib/screens/settings_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,12 @@ class _SettingsScreenState extends State<SettingsScreen> {
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}');
}

Expand Down

0 comments on commit 8b8065b

Please sign in to comment.