💚 End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Fallback for no device lock found for guest view and extracted strings
Aman Raj Singh Mourya2d768c9c6158
diff --git a/mobile/lib/generated/intl/messages_cs.dart b/mobile/lib/generated/intl/messages_cs.dartindex 6c8d749cc6..b49e60133c 100644--- a/mobile/lib/generated/intl/messages_cs.dart+++ b/mobile/lib/generated/intl/messages_cs.dart@@ -61,6 +61,8 @@ class MessageLookup extends MessageLookupByLibrary {"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),"foundFaces": MessageLookupByLibrary.simpleMessage("Found faces"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hideContent": MessageLookupByLibrary.simpleMessage("Hide content"),"hideContentDescriptionAndroid": MessageLookupByLibrary.simpleMessage("Hides app content in the app switcher and disables screenshots"),@@ -105,8 +107,6 @@ class MessageLookup extends MessageLookupByLibrary {"setNewPassword":MessageLookupByLibrary.simpleMessage("Set new password"),"setNewPin": MessageLookupByLibrary.simpleMessage("Set new PIN"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "To enable swipe lock, please setup device passcode or screen lock in your system settings."),"tapToUnlock": MessageLookupByLibrary.simpleMessage("Tap to unlock"),"thisWillRemovePublicLinksOfAllSelectedQuickLinks":MessageLookupByLibrary.simpleMessage(diff --git a/mobile/lib/generated/intl/messages_de.dart b/mobile/lib/generated/intl/messages_de.dartindex 6987ee0830..feed2c27a5 100644--- a/mobile/lib/generated/intl/messages_de.dart+++ b/mobile/lib/generated/intl/messages_de.dart@@ -826,6 +826,8 @@ class MessageLookup extends MessageLookupByLibrary {"groupNearbyPhotos": MessageLookupByLibrary.simpleMessage("Fotos in der Nähe gruppieren"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hearUsExplanation": MessageLookupByLibrary.simpleMessage("Wir tracken keine App-Installationen. Es würde uns jedoch helfen, wenn du uns mitteilst, wie du von uns erfahren hast!"),"hearUsWhereTitle": MessageLookupByLibrary.simpleMessage(@@ -1514,8 +1516,6 @@ class MessageLookup extends MessageLookupByLibrary {"suggestFeatures":MessageLookupByLibrary.simpleMessage("Verbesserung vorschlagen"),"support": MessageLookupByLibrary.simpleMessage("Support"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "Um die Sperre für die Wischfunktion zu aktivieren, richte bitte einen Gerätepasscode oder eine Bildschirmsperre in den Systemeinstellungen ein."),"syncProgress": m62,"syncStopped":MessageLookupByLibrary.simpleMessage("Synchronisierung angehalten"),diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dartindex 6eafdbf79a..d22cdd7ecc 100644--- a/mobile/lib/generated/intl/messages_en.dart+++ b/mobile/lib/generated/intl/messages_en.dart@@ -794,6 +794,8 @@ class MessageLookup extends MessageLookupByLibrary {"groupNearbyPhotos":MessageLookupByLibrary.simpleMessage("Group nearby photos"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hearUsExplanation": MessageLookupByLibrary.simpleMessage("We don\'t track app installs. It\'d help if you told us where you found us!"),"hearUsWhereTitle": MessageLookupByLibrary.simpleMessage(@@ -1448,8 +1450,6 @@ class MessageLookup extends MessageLookupByLibrary {"suggestFeatures":MessageLookupByLibrary.simpleMessage("Suggest features"),"support": MessageLookupByLibrary.simpleMessage("Support"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "To enable swipe lock, please setup device passcode or screen lock in your system settings."),"syncProgress": m62,"syncStopped": MessageLookupByLibrary.simpleMessage("Sync stopped"),"syncing": MessageLookupByLibrary.simpleMessage("Syncing..."),diff --git a/mobile/lib/generated/intl/messages_es.dart b/mobile/lib/generated/intl/messages_es.dartindex 25d102c0e6..857b10f70a 100644--- a/mobile/lib/generated/intl/messages_es.dart+++ b/mobile/lib/generated/intl/messages_es.dart@@ -828,6 +828,8 @@ class MessageLookup extends MessageLookupByLibrary {"groupNearbyPhotos":MessageLookupByLibrary.simpleMessage("Agrupar fotos cercanas"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hearUsExplanation": MessageLookupByLibrary.simpleMessage("No rastreamos las aplicaciones instaladas. ¡Nos ayudarías si nos dijeras dónde nos encontraste!"),"hearUsWhereTitle": MessageLookupByLibrary.simpleMessage(@@ -1522,8 +1524,6 @@ class MessageLookup extends MessageLookupByLibrary {"suggestFeatures":MessageLookupByLibrary.simpleMessage("Sugerir una característica"),"support": MessageLookupByLibrary.simpleMessage("Soporte"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "To enable swipe lock, please setup device passcode or screen lock in your system settings."),"syncProgress": m62,"syncStopped":MessageLookupByLibrary.simpleMessage("Sincronización detenida"),diff --git a/mobile/lib/generated/intl/messages_fr.dart b/mobile/lib/generated/intl/messages_fr.dartindex 3abb699e48..cc0feb9555 100644--- a/mobile/lib/generated/intl/messages_fr.dart+++ b/mobile/lib/generated/intl/messages_fr.dart@@ -776,6 +776,8 @@ class MessageLookup extends MessageLookupByLibrary {"groupNearbyPhotos": MessageLookupByLibrary.simpleMessage("Grouper les photos à proximité"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hearUsExplanation": MessageLookupByLibrary.simpleMessage("Nous ne suivons pas les installations d\'applications. Il serait utile que vous nous disiez comment vous nous avez trouvés !"),"hearUsWhereTitle": MessageLookupByLibrary.simpleMessage(@@ -1404,8 +1406,6 @@ class MessageLookup extends MessageLookupByLibrary {"suggestFeatures": MessageLookupByLibrary.simpleMessage("Suggérer des fonctionnalités"),"support": MessageLookupByLibrary.simpleMessage("Support"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "To enable swipe lock, please setup device passcode or screen lock in your system settings."),"syncProgress": m62,"syncStopped":MessageLookupByLibrary.simpleMessage("Synchronisation arrêtée ?"),diff --git a/mobile/lib/generated/intl/messages_it.dart b/mobile/lib/generated/intl/messages_it.dartindex c978ee12d6..1681da9726 100644--- a/mobile/lib/generated/intl/messages_it.dart+++ b/mobile/lib/generated/intl/messages_it.dart@@ -746,6 +746,8 @@ class MessageLookup extends MessageLookupByLibrary {"groupNearbyPhotos": MessageLookupByLibrary.simpleMessage("Raggruppa foto nelle vicinanze"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hearUsExplanation": MessageLookupByLibrary.simpleMessage("Non teniamo traccia del numero di installazioni dell\'app. Sarebbe utile se ci dicesse dove ci ha trovato!"),"hearUsWhereTitle": MessageLookupByLibrary.simpleMessage(@@ -1332,8 +1334,6 @@ class MessageLookup extends MessageLookupByLibrary {"suggestFeatures":MessageLookupByLibrary.simpleMessage("Suggerisci una funzionalità"),"support": MessageLookupByLibrary.simpleMessage("Assistenza"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "To enable swipe lock, please setup device passcode or screen lock in your system settings."),"syncProgress": m62,"syncStopped":MessageLookupByLibrary.simpleMessage("Sincronizzazione interrotta"),diff --git a/mobile/lib/generated/intl/messages_ko.dart b/mobile/lib/generated/intl/messages_ko.dartindex 8b30ee0b86..5a372c298b 100644--- a/mobile/lib/generated/intl/messages_ko.dart+++ b/mobile/lib/generated/intl/messages_ko.dart@@ -61,6 +61,8 @@ class MessageLookup extends MessageLookupByLibrary {"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),"foundFaces": MessageLookupByLibrary.simpleMessage("Found faces"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hideContent": MessageLookupByLibrary.simpleMessage("Hide content"),"hideContentDescriptionAndroid": MessageLookupByLibrary.simpleMessage("Hides app content in the app switcher and disables screenshots"),@@ -105,8 +107,6 @@ class MessageLookup extends MessageLookupByLibrary {"setNewPassword":MessageLookupByLibrary.simpleMessage("Set new password"),"setNewPin": MessageLookupByLibrary.simpleMessage("Set new PIN"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "To enable swipe lock, please setup device passcode or screen lock in your system settings."),"tapToUnlock": MessageLookupByLibrary.simpleMessage("Tap to unlock"),"thisWillRemovePublicLinksOfAllSelectedQuickLinks":MessageLookupByLibrary.simpleMessage(diff --git a/mobile/lib/generated/intl/messages_nl.dart b/mobile/lib/generated/intl/messages_nl.dartindex fd84335925..b68312d437 100644--- a/mobile/lib/generated/intl/messages_nl.dart+++ b/mobile/lib/generated/intl/messages_nl.dart@@ -829,6 +829,8 @@ class MessageLookup extends MessageLookupByLibrary {"groupNearbyPhotos":MessageLookupByLibrary.simpleMessage("Groep foto\'s in de buurt"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hearUsExplanation": MessageLookupByLibrary.simpleMessage("Wij gebruiken geen tracking. Het zou helpen als je ons vertelt waar je ons gevonden hebt!"),"hearUsWhereTitle": MessageLookupByLibrary.simpleMessage(@@ -1511,8 +1513,6 @@ class MessageLookup extends MessageLookupByLibrary {"suggestFeatures":MessageLookupByLibrary.simpleMessage("Features voorstellen"),"support": MessageLookupByLibrary.simpleMessage("Ondersteuning"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "Om swipe-vergrendeling in te schakelen, stelt u de toegangscode van het apparaat of schermvergrendeling in uw systeeminstellingen in."),"syncProgress": m62,"syncStopped":MessageLookupByLibrary.simpleMessage("Synchronisatie gestopt"),diff --git a/mobile/lib/generated/intl/messages_no.dart b/mobile/lib/generated/intl/messages_no.dartindex e737cd0591..886121b119 100644--- a/mobile/lib/generated/intl/messages_no.dart+++ b/mobile/lib/generated/intl/messages_no.dart@@ -79,6 +79,8 @@ class MessageLookup extends MessageLookupByLibrary {"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),"foundFaces": MessageLookupByLibrary.simpleMessage("Found faces"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hideContent": MessageLookupByLibrary.simpleMessage("Hide content"),"hideContentDescriptionAndroid": MessageLookupByLibrary.simpleMessage("Hides app content in the app switcher and disables screenshots"),@@ -127,8 +129,6 @@ class MessageLookup extends MessageLookupByLibrary {"setNewPassword":MessageLookupByLibrary.simpleMessage("Set new password"),"setNewPin": MessageLookupByLibrary.simpleMessage("Set new PIN"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "To enable swipe lock, please setup device passcode or screen lock in your system settings."),"tapToUnlock": MessageLookupByLibrary.simpleMessage("Tap to unlock"),"thisWillRemovePublicLinksOfAllSelectedQuickLinks":MessageLookupByLibrary.simpleMessage(diff --git a/mobile/lib/generated/intl/messages_pl.dart b/mobile/lib/generated/intl/messages_pl.dartindex 9d51285d0e..46bebdd3d6 100644--- a/mobile/lib/generated/intl/messages_pl.dart+++ b/mobile/lib/generated/intl/messages_pl.dart@@ -819,6 +819,8 @@ class MessageLookup extends MessageLookupByLibrary {"groupNearbyPhotos":MessageLookupByLibrary.simpleMessage("Grupuj pobliskie zdjęcia"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hearUsExplanation": MessageLookupByLibrary.simpleMessage("Nie śledzimy instalacji aplikacji. Pomogłyby nam, gdybyś powiedział/a nam, gdzie nas znalazłeś/aś!"),"hearUsWhereTitle": MessageLookupByLibrary.simpleMessage(@@ -1504,8 +1506,6 @@ class MessageLookup extends MessageLookupByLibrary {"suggestFeatures":MessageLookupByLibrary.simpleMessage("Zaproponuj funkcje"),"support": MessageLookupByLibrary.simpleMessage("Wsparcie techniczne"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "Aby włączyć blokadę aplikacji, należy skonfigurować hasło urządzenia lub blokadę ekranu w ustawieniach Twojego systemu."),"syncProgress": m62,"syncStopped":MessageLookupByLibrary.simpleMessage("Synchronizacja zatrzymana"),diff --git a/mobile/lib/generated/intl/messages_pt.dart b/mobile/lib/generated/intl/messages_pt.dartindex 6e1e0d8947..a628a8637b 100644--- a/mobile/lib/generated/intl/messages_pt.dart+++ b/mobile/lib/generated/intl/messages_pt.dart@@ -818,6 +818,8 @@ class MessageLookup extends MessageLookupByLibrary {"groupNearbyPhotos":MessageLookupByLibrary.simpleMessage("Agrupar fotos próximas"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hearUsExplanation": MessageLookupByLibrary.simpleMessage("Não rastreamos instalações do aplicativo. Seria útil se você nos contasse onde nos encontrou!"),"hearUsWhereTitle": MessageLookupByLibrary.simpleMessage(@@ -1506,8 +1508,6 @@ class MessageLookup extends MessageLookupByLibrary {"suggestFeatures":MessageLookupByLibrary.simpleMessage("Sugerir recurso"),"support": MessageLookupByLibrary.simpleMessage("Suporte"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "Para ativar o bloqueio por deslizar, por favor ative um método de autenticação nas configurações do sistema do seu dispositivo."),"syncProgress": m62,"syncStopped":MessageLookupByLibrary.simpleMessage("Sincronização interrompida"),diff --git a/mobile/lib/generated/intl/messages_ru.dart b/mobile/lib/generated/intl/messages_ru.dartindex 08becfa5fe..506d3726f5 100644--- a/mobile/lib/generated/intl/messages_ru.dart+++ b/mobile/lib/generated/intl/messages_ru.dart@@ -812,6 +812,8 @@ class MessageLookup extends MessageLookupByLibrary {"groupNearbyPhotos": MessageLookupByLibrary.simpleMessage("Группировать фотографии рядом"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hearUsExplanation": MessageLookupByLibrary.simpleMessage("Будет полезно, если вы укажете, где нашли нас, так как мы не отслеживаем установки приложения!"),"hearUsWhereTitle": MessageLookupByLibrary.simpleMessage(@@ -1502,8 +1504,6 @@ class MessageLookup extends MessageLookupByLibrary {"suggestFeatures":MessageLookupByLibrary.simpleMessage("Предложить идею"),"support": MessageLookupByLibrary.simpleMessage("Поддержка"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "To enable swipe lock, please setup device passcode or screen lock in your system settings."),"syncProgress": m62,"syncStopped":MessageLookupByLibrary.simpleMessage("Синхронизация остановлена"),diff --git a/mobile/lib/generated/intl/messages_tr.dart b/mobile/lib/generated/intl/messages_tr.dartindex d4821c86b5..481534b2c0 100644--- a/mobile/lib/generated/intl/messages_tr.dart+++ b/mobile/lib/generated/intl/messages_tr.dart@@ -814,6 +814,8 @@ class MessageLookup extends MessageLookupByLibrary {"groupNearbyPhotos": MessageLookupByLibrary.simpleMessage("Yakındaki fotoğrafları gruplandır"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hearUsExplanation": MessageLookupByLibrary.simpleMessage("Biz uygulama kurulumlarını takip etmiyoruz. Bizi nereden duyduğunuzdan bahsetmeniz bize çok yardımcı olacak!"),"hearUsWhereTitle": MessageLookupByLibrary.simpleMessage(@@ -1491,8 +1493,6 @@ class MessageLookup extends MessageLookupByLibrary {"suggestFeatures":MessageLookupByLibrary.simpleMessage("Özellik önerin"),"support": MessageLookupByLibrary.simpleMessage("Destek"),- "swipeLockEnablePreSteps": MessageLookupByLibrary.simpleMessage(- "To enable swipe lock, please setup device passcode or screen lock in your system settings."),"syncProgress": m62,"syncStopped":MessageLookupByLibrary.simpleMessage("Senkronizasyon durduruldu"),diff --git a/mobile/lib/generated/intl/messages_zh.dart b/mobile/lib/generated/intl/messages_zh.dartindex 164d5b87f9..f46ffc9fc4 100644--- a/mobile/lib/generated/intl/messages_zh.dart+++ b/mobile/lib/generated/intl/messages_zh.dart@@ -670,6 +670,8 @@ class MessageLookup extends MessageLookupByLibrary {"grantPermission": MessageLookupByLibrary.simpleMessage("授予权限"),"groupNearbyPhotos": MessageLookupByLibrary.simpleMessage("将附近的照片分组"),"guestView": MessageLookupByLibrary.simpleMessage("Guest view"),+ "guestViewEnablePreSteps": MessageLookupByLibrary.simpleMessage(+ "To enable guest view, please setup device passcode or screen lock in your system settings."),"hearUsExplanation": MessageLookupByLibrary.simpleMessage("我们不跟踪应用程序安装情况。如果您告诉我们您是在哪里找到我们的,将会有所帮助!"),"hearUsWhereTitle":@@ -1212,8 +1214,6 @@ class MessageLookup extends MessageLookupByLibrary {"successfullyUnhid": MessageLookupByLibrary.simpleMessage("已成功取消隐藏"),"suggestFeatures": MessageLookupByLibrary.simpleMessage("建议新功能"),"support": MessageLookupByLibrary.simpleMessage("支持"),- "swipeLockEnablePreSteps":- MessageLookupByLibrary.simpleMessage("要启用滑动锁定,请在系统设置中设置设备密码或屏幕锁。"),"syncProgress": m62,"syncStopped": MessageLookupByLibrary.simpleMessage("同步已停止"),"syncing": MessageLookupByLibrary.simpleMessage("正在同步···"),diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dartindex 7add93a337..7cb3716b4d 100644--- a/mobile/lib/generated/l10n.dart+++ b/mobile/lib/generated/l10n.dart@@ -9125,16 +9125,6 @@ class S {);}- /// `To enable swipe lock, please setup device passcode or screen lock in your system settings.`- String get swipeLockEnablePreSteps {- return Intl.message(- 'To enable swipe lock, please setup device passcode or screen lock in your system settings.',- name: 'swipeLockEnablePreSteps',- desc: '',- args: [],- );- }-/// `Auto lock`String get autoLock {return Intl.message(@@ -9254,6 +9244,16 @@ class S {args: [],);}++ /// `To enable guest view, please setup device passcode or screen lock in your system settings.`+ String get guestViewEnablePreSteps {+ return Intl.message(+ 'To enable guest view, please setup device passcode or screen lock in your system settings.',+ name: 'guestViewEnablePreSteps',+ desc: '',+ args: [],+ );+ }}class AppLocalizationDelegate extends LocalizationsDelegate<S> {diff --git a/mobile/lib/l10n/intl_cs.arb b/mobile/lib/l10n/intl_cs.arbindex 2f2942c442..f5991dd0b0 100644--- a/mobile/lib/l10n/intl_cs.arb+++ b/mobile/lib/l10n/intl_cs.arb@@ -53,5 +53,6 @@"pleaseSelectQuickLinksToRemove": "Please select quick links to remove","removePublicLinks": "Remove public links","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "This will remove public links of all selected quick links.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_de.arb b/mobile/lib/l10n/intl_de.arbindex 57f30fa51e..ceb5d28a44 100644--- a/mobile/lib/l10n/intl_de.arb+++ b/mobile/lib/l10n/intl_de.arb@@ -1291,5 +1291,6 @@"pleaseSelectQuickLinksToRemove": "Bitte wähle die zu entfernenden schnellen Links","removePublicLinks": "Öffentliche Links entfernen","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "Hiermit werden die öffentlichen Links aller ausgewählten schnellen Links entfernt.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arbindex e29bf9a14c..f7f842f493 100644--- a/mobile/lib/l10n/intl_en.arb+++ b/mobile/lib/l10n/intl_en.arb@@ -1279,7 +1279,6 @@"tooManyIncorrectAttempts": "Too many incorrect attempts","videoInfo": "Video Info","appLockDescription": "Choose between your device\\'s default lock screen and a custom lock screen with a PIN or password.",- "swipeLockEnablePreSteps": "To enable swipe lock, please setup device passcode or screen lock in your system settings.","autoLock": "Auto lock","immediately": "Immediately","autoLockFeatureDescription": "Time after which the app locks after being put in the background",@@ -1291,5 +1290,6 @@"pleaseSelectQuickLinksToRemove": "Please select quick links to remove","removePublicLinks": "Remove public links","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "This will remove public links of all selected quick links.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_es.arb b/mobile/lib/l10n/intl_es.arbindex 280d87d0de..59affb44b2 100644--- a/mobile/lib/l10n/intl_es.arb+++ b/mobile/lib/l10n/intl_es.arb@@ -1277,5 +1277,6 @@"pleaseSelectQuickLinksToRemove": "Please select quick links to remove","removePublicLinks": "Remove public links","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "This will remove public links of all selected quick links.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_fr.arb b/mobile/lib/l10n/intl_fr.arbindex 7e7c87caf2..17aa27bab6 100644--- a/mobile/lib/l10n/intl_fr.arb+++ b/mobile/lib/l10n/intl_fr.arb@@ -1194,5 +1194,6 @@"pleaseSelectQuickLinksToRemove": "Please select quick links to remove","removePublicLinks": "Remove public links","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "This will remove public links of all selected quick links.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_it.arb b/mobile/lib/l10n/intl_it.arbindex 568c500b3e..45188038fd 100644--- a/mobile/lib/l10n/intl_it.arb+++ b/mobile/lib/l10n/intl_it.arb@@ -1156,5 +1156,6 @@"pleaseSelectQuickLinksToRemove": "Please select quick links to remove","removePublicLinks": "Remove public links","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "This will remove public links of all selected quick links.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_ko.arb b/mobile/lib/l10n/intl_ko.arbindex 2f2942c442..f5991dd0b0 100644--- a/mobile/lib/l10n/intl_ko.arb+++ b/mobile/lib/l10n/intl_ko.arb@@ -53,5 +53,6 @@"pleaseSelectQuickLinksToRemove": "Please select quick links to remove","removePublicLinks": "Remove public links","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "This will remove public links of all selected quick links.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_nl.arb b/mobile/lib/l10n/intl_nl.arbindex b7778c513e..a7105491da 100644--- a/mobile/lib/l10n/intl_nl.arb+++ b/mobile/lib/l10n/intl_nl.arb@@ -1291,5 +1291,6 @@"pleaseSelectQuickLinksToRemove": "Please select quick links to remove","removePublicLinks": "Remove public links","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "This will remove public links of all selected quick links.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_no.arb b/mobile/lib/l10n/intl_no.arbindex 9c1aaeda09..2b6829f1f9 100644--- a/mobile/lib/l10n/intl_no.arb+++ b/mobile/lib/l10n/intl_no.arb@@ -67,5 +67,6 @@"pleaseSelectQuickLinksToRemove": "Please select quick links to remove","removePublicLinks": "Remove public links","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "This will remove public links of all selected quick links.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_pl.arb b/mobile/lib/l10n/intl_pl.arbindex a13d440446..cc074a7bef 100644--- a/mobile/lib/l10n/intl_pl.arb+++ b/mobile/lib/l10n/intl_pl.arb@@ -1291,5 +1291,6 @@"pleaseSelectQuickLinksToRemove": "Prosimy wybrać szybkie linki do usunięcia","removePublicLinks": "Usuń linki publiczne","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "Spowoduje to usunięcie publicznych linków wszystkich zaznaczonych szybkich linków.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_pt.arb b/mobile/lib/l10n/intl_pt.arbindex 7c9252873b..1259379354 100644--- a/mobile/lib/l10n/intl_pt.arb+++ b/mobile/lib/l10n/intl_pt.arb@@ -1291,5 +1291,6 @@"pleaseSelectQuickLinksToRemove": "Selecione links rápidos para remover","removePublicLinks": "Remover link público","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "Isto removerá links públicos de todos os links rápidos selecionados.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_ru.arb b/mobile/lib/l10n/intl_ru.arbindex 428cdea90d..60dc6271af 100644--- a/mobile/lib/l10n/intl_ru.arb+++ b/mobile/lib/l10n/intl_ru.arb@@ -1276,5 +1276,6 @@"pleaseSelectQuickLinksToRemove": "Please select quick links to remove","removePublicLinks": "Remove public links","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "This will remove public links of all selected quick links.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_tr.arb b/mobile/lib/l10n/intl_tr.arbindex ff66a5dfd1..0874270399 100644--- a/mobile/lib/l10n/intl_tr.arb+++ b/mobile/lib/l10n/intl_tr.arb@@ -1288,5 +1288,6 @@"pleaseSelectQuickLinksToRemove": "Please select quick links to remove","removePublicLinks": "Remove public links","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "This will remove public links of all selected quick links.",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/l10n/intl_zh.arb b/mobile/lib/l10n/intl_zh.arbindex fac2a8f82b..2055ef0322 100644--- a/mobile/lib/l10n/intl_zh.arb+++ b/mobile/lib/l10n/intl_zh.arb@@ -1291,5 +1291,6 @@"pleaseSelectQuickLinksToRemove": "请选择要删除的快速链接","removePublicLinks": "删除公开链接","thisWillRemovePublicLinksOfAllSelectedQuickLinks": "这将删除所有选定的快速链接的公共链接。",- "guestView": "Guest view"+ "guestView": "Guest view",+ "guestViewEnablePreSteps": "To enable guest view, please setup device passcode or screen lock in your system settings."}\ No newline at end of filediff --git a/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart b/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dartindex c5af5deab4..29b71de3f9 100644--- a/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart+++ b/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart@@ -4,6 +4,7 @@ import 'package:fast_base58/fast_base58.dart';import "package:flutter/cupertino.dart";import 'package:flutter/material.dart';import 'package:flutter/services.dart';+import "package:local_auth/local_auth.dart";import "package:logging/logging.dart";import "package:modal_bottom_sheet/modal_bottom_sheet.dart";import 'package:photos/core/configuration.dart';@@ -568,18 +569,26 @@ class _FileSelectionActionsWidgetStateFuture<void> _onGuestViewClick() async {final List<EnteFile> selectedFiles = widget.selectedFiles.files.toList();- final page = DetailPage(- DetailPageConfiguration(- selectedFiles,- null,- 0,- "guest_view",- ),- );- routeToPage(context, page, forceCustomPageRoute: true).ignore();- WidgetsBinding.instance.addPostFrameCallback((_) {- Bus.instance.fire(GuestViewEvent(true, false));- });+ if (await LocalAuthentication().isDeviceSupported()) {+ final page = DetailPage(+ DetailPageConfiguration(+ selectedFiles,+ null,+ 0,+ "guest_view",+ ),+ );+ routeToPage(context, page, forceCustomPageRoute: true).ignore();+ WidgetsBinding.instance.addPostFrameCallback((_) {+ Bus.instance.fire(GuestViewEvent(true, false));+ });+ } else {+ await showErrorDialog(+ context,+ S.of(context).noSystemLockFound,+ S.of(context).guestViewEnablePreSteps,+ );+ }widget.selectedFiles.clearAll();}diff --git a/mobile/lib/ui/viewer/file/file_app_bar.dart b/mobile/lib/ui/viewer/file/file_app_bar.dartindex e9221b2f72..8fbf260bca 100644--- a/mobile/lib/ui/viewer/file/file_app_bar.dart+++ b/mobile/lib/ui/viewer/file/file_app_bar.dart@@ -419,7 +419,7 @@ class FileAppBarState extends State<FileAppBar> {await showErrorDialog(context,S.of(context).noSystemLockFound,- S.of(context).swipeLockEnablePreSteps,+ S.of(context).guestViewEnablePreSteps,);}}