Fixes for FOSS build

This commit is contained in:
Hillel Coren 2023-10-25 14:44:36 +03:00
parent 2e3f3444a7
commit f937acd76f
2 changed files with 10 additions and 10 deletions

View File

@ -7,6 +7,6 @@ class AppReview {
static void requestReview() => null; static void requestReview() => null;
static void openStoreListing() => static void openStoreListing() => launchUrl(
launch(getRateAppURL(navigatorKey.currentContext)); Uri.dataFromString(getRateAppURL(navigatorKey.currentContext!)));
} }

View File

@ -1,17 +1,17 @@
class GoogleOAuth { class GoogleOAuth {
static bool get isEnabled => false; 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 { static Future<bool> signUp(Function(String, String) callback) async {
// return false;
} }
static Future<bool> requestGmailScope() async { static Future<bool> requestGmailScope() async {
// return false;
} }
/* /*
@ -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 {
// //
} }
} }