π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile][photos] add orientation lock to landing screen
Priyanshu Dangare2c234ca808c3
diff --git a/mobile/apps/photos/lib/ui/home/landing_page_widget.dart b/mobile/apps/photos/lib/ui/home/landing_page_widget.dartindex d9305bd350..a154ab2967 100644--- a/mobile/apps/photos/lib/ui/home/landing_page_widget.dart+++ b/mobile/apps/photos/lib/ui/home/landing_page_widget.dart@@ -43,11 +43,15 @@ class _LandingPageWidgetState extends State<LandingPageWidget> {riveFactory: rive.Factory.flutter,);Future(_showAutoLogoutDialogIfRequired);+ if (mounted) {+ SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);+ }}@overridevoid dispose() {_onboardingAnimationLoader.dispose();+ SystemChrome.setPreferredOrientations([]);super.dispose();}