π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Show 4 instead of 6 magic results in magic section for non-internal users
ashilkn84f2c6d102cd
diff --git a/mobile/lib/services/magic_cache_service.dart b/mobile/lib/services/magic_cache_service.dartindex 40e7f9c1ae..bcfd1c43e6 100644--- a/mobile/lib/services/magic_cache_service.dart+++ b/mobile/lib/services/magic_cache_service.dart@@ -102,7 +102,7 @@ class MagicCacheService {}if (lastMagicCacheUpdateTime <DateTime.now()- .subtract(const Duration(days: 3))+ .subtract(const Duration(seconds: 1)).millisecondsSinceEpoch) {Future.delayed(_kCacheUpdateDelay, () {unawaited(updateMagicCache());@@ -181,7 +181,7 @@ class MagicCacheService {List<dynamic> magicPromptsData,) async {//Show all magic prompts to internal users for feedback on results- final limit = flagService.internalUser ? magicPromptsData.length : 6;+ final limit = flagService.internalUser ? magicPromptsData.length : 4;final results = <MagicCache>[];final randomIndexes = List.generate(magicPromptsData.length,