Skip to content

Commit

Permalink
Fixes for FOSS build
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Oct 25, 2023
1 parent 2e3f344 commit f937acd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions lib/utils/app_review.dart.foss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ class AppReview {

static void requestReview() => null;

static void openStoreListing() =>
launch(getRateAppURL(navigatorKey.currentContext));
static void openStoreListing() => launchUrl(
Uri.dataFromString(getRateAppURL(navigatorKey.currentContext!)));
}
16 changes: 8 additions & 8 deletions lib/utils/oauth.dart.foss
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
class GoogleOAuth {

static bool get isEnabled => false;

static Future<bool> signIn(Function(String, String) callback, {bool isSilent = false}) async {
//
static Future<bool> signIn(Function(String, String) callback,
{bool isSilent = false}) async {
return false;
}

static Future<bool> signUp(Function(String, String) callback) async {
//
return false;
}

static Future<bool> requestGmailScope() async {
//
return false;
}

/*
Expand All @@ -20,11 +20,11 @@ class GoogleOAuth {
}
*/

static Future<GoogleSignInAccount?> signOut() async {
static Future<Null> signOut() async {
//
}

static Future<GoogleSignInAccount?> disconnect() async {
static Future<Null> disconnect() async {
//
}
}
}

0 comments on commit f937acd

Please sign in to comment.