π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
use contains() to check platform os from string
ashilkneac9eee29c76
diff --git a/lib/utils/device_info.dart b/lib/utils/device_info.dartindex b83ddb8509..9747f6ef20 100644--- a/lib/utils/device_info.dart+++ b/lib/utils/device_info.dart@@ -54,7 +54,7 @@ Future<bool> isAndroidSDKVersionLowerThan(int inputSDK) async {bool isCompatibleWithMediaKit() {final os = Platform.operatingSystem.toLowerCase();- if (os == "grapheneos" || os == "divestos") {+ if (os.contains("graphene") || os.contains("divest")) {Logger("device_info").info("os is $os, using video_player for videos");return false;}