|
@@ -1,40 +1,40 @@
|
|
// @dart = 2.7
|
|
// @dart = 2.7
|
|
|
|
|
|
-const int kThumbnailSmallSize = 256;
|
|
|
|
-const int kThumbnailQuality = 50;
|
|
|
|
-const int kThumbnailLargeSize = 512;
|
|
|
|
-const int kCompressedThumbnailResolution = 1080;
|
|
|
|
-const int kThumbnailDataLimit = 100 * 1024;
|
|
|
|
-const String kSentryDSN =
|
|
|
|
|
|
+const int thumbnailSmallSize = 256;
|
|
|
|
+const int thumbnailQuality = 50;
|
|
|
|
+const int thumbnailLargeSize = 512;
|
|
|
|
+const int compressedThumbnailResolution = 1080;
|
|
|
|
+const int thumbnailDataLimit = 100 * 1024;
|
|
|
|
+const String sentryDSN =
|
|
"https://2235e5c99219488ea93da34b9ac1cb68@sentry.ente.io/4";
|
|
"https://2235e5c99219488ea93da34b9ac1cb68@sentry.ente.io/4";
|
|
-const String kSentryDebugDSN =
|
|
|
|
|
|
+const String sentryDebugDSN =
|
|
"https://ca5e686dd7f149d9bf94e620564cceba@sentry.ente.io/3";
|
|
"https://ca5e686dd7f149d9bf94e620564cceba@sentry.ente.io/3";
|
|
-const String kSentryTunnel = "https://sentry-reporter.ente.io";
|
|
|
|
-const String kRoadmapURL = "https://roadmap.ente.io";
|
|
|
|
-const int kMicroSecondsInDay = 86400000000;
|
|
|
|
-const int kAndroid11SDKINT = 30;
|
|
|
|
-const int kGalleryLoadStartTime = -8000000000000000; // Wednesday, March 6, 1748
|
|
|
|
-const int kGalleryLoadEndTime = 9223372036854775807; // 2^63 -1
|
|
|
|
|
|
+const String sentryTunnel = "https://sentry-reporter.ente.io";
|
|
|
|
+const String roadmapURL = "https://roadmap.ente.io";
|
|
|
|
+const int microSecondsInDay = 86400000000;
|
|
|
|
+const int android11SDKINT = 30;
|
|
|
|
+const int galleryLoadStartTime = -8000000000000000; // Wednesday, March 6, 1748
|
|
|
|
+const int galleryLoadEndTime = 9223372036854775807; // 2^63 -1
|
|
|
|
|
|
// used to identify which ente file are available in app cache
|
|
// used to identify which ente file are available in app cache
|
|
// todo: 6Jun22: delete old media identifier after 3 months
|
|
// todo: 6Jun22: delete old media identifier after 3 months
|
|
-const String kOldSharedMediaIdentifier = 'ente-shared://';
|
|
|
|
-const String kSharedMediaIdentifier = 'ente-shared-media://';
|
|
|
|
|
|
+const String oldSharedMediaIdentifier = 'ente-shared://';
|
|
|
|
+const String sharedMediaIdentifier = 'ente-shared-media://';
|
|
|
|
|
|
-const int kMaxLivePhotoToastCount = 2;
|
|
|
|
-const String kLivePhotoToastCounterKey = "show_live_photo_toast";
|
|
|
|
|
|
+const int maxLivePhotoToastCount = 2;
|
|
|
|
+const String livePhotoToastCounterKey = "show_live_photo_toast";
|
|
|
|
|
|
-const kThumbnailDiskLoadDeferDuration = Duration(milliseconds: 40);
|
|
|
|
-const kThumbnailServerLoadDeferDuration = Duration(milliseconds: 80);
|
|
|
|
|
|
+const thumbnailDiskLoadDeferDuration = Duration(milliseconds: 40);
|
|
|
|
+const thumbnailServerLoadDeferDuration = Duration(milliseconds: 80);
|
|
|
|
|
|
// 256 bit key maps to 24 words
|
|
// 256 bit key maps to 24 words
|
|
// https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki#Generating_the_mnemonic
|
|
// https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki#Generating_the_mnemonic
|
|
-const kMnemonicKeyWordCount = 24;
|
|
|
|
|
|
+const mnemonicKeyWordCount = 24;
|
|
|
|
|
|
// https://stackoverflow.com/a/61162219
|
|
// https://stackoverflow.com/a/61162219
|
|
-const kDragSensitivity = 8;
|
|
|
|
|
|
+const dragSensitivity = 8;
|
|
|
|
|
|
-const kSupportEmail = 'support@ente.io';
|
|
|
|
|
|
+const supportEmail = 'support@ente.io';
|
|
|
|
|
|
// Default values for various feature flags
|
|
// Default values for various feature flags
|
|
class FFDefault {
|
|
class FFDefault {
|