Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Reformat code

vishnukvmd25c84d5b5625
diff --git a/lib/services/update_service.dart b/lib/services/update_service.dart
index ff37741522..6e1c12bea5 100644
--- a/lib/services/update_service.dart
+++ b/lib/services/update_service.dart
@@ -1,5 +1,3 @@
-
-
import 'dart:io';
import 'package:ente_auth/core/constants.dart';
@@ -94,7 +92,7 @@ class UpdateService {
// Note: in auth, currently we don't have a way to identify if the
// app was installed from play store, f-droid or github based on pkg name
if (Platform.isAndroid) {
- if(flavor == "playstore") {
+ if (flavor == "playstore") {
return const Tuple2(
"Play Store",
"market://details??id=io.ente.auth",
@@ -120,8 +118,7 @@ class UpdateService {
// Fall back if we fail to open play-store market app on android
if (Platform.isAndroid && url.startsWith("market://")) {
launchUrlString(
- "https://play.google.com/store/apps/details?id=io"
- ".ente.auth",
+ "https://play.google.com/store/apps/details?id=io.ente.auth",
mode: LaunchMode.externalApplication,
).ignore();
}
@@ -129,7 +126,8 @@ class UpdateService {
}
bool isIndependent() {
- return flavor == "independent" || _packageInfo.packageName.endsWith("independent");
+ return flavor == "independent" ||
+ _packageInfo.packageName.endsWith("independent");
}
}