π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Ensure widget is updated when endpoint changes
vishnukvmd9d7a342aa914
diff --git a/mobile/lib/ui/home/landing_page_widget.dart b/mobile/lib/ui/home/landing_page_widget.dartindex 546751eb49..11f043b8b4 100644--- a/mobile/lib/ui/home/landing_page_widget.dart+++ b/mobile/lib/ui/home/landing_page_widget.dart@@ -165,7 +165,9 @@ class _LandingPageWidgetState extends State<LandingPageWidget> {),),),- const DeveloperSettingsWidget(),+ // const DeveloperSettingsWidget() does not refresh when the endpoint is changed+ // ignore: prefer_const_constructors+ DeveloperSettingsWidget(),const Padding(padding: EdgeInsets.all(20),),diff --git a/mobile/lib/ui/settings/developer_settings_widget.dart b/mobile/lib/ui/settings/developer_settings_widget.dartindex ce4d814467..b77d647c66 100644--- a/mobile/lib/ui/settings/developer_settings_widget.dart+++ b/mobile/lib/ui/settings/developer_settings_widget.dart@@ -14,9 +14,9 @@ class DeveloperSettingsWidget extends StatelessWidget {return Padding(padding: const EdgeInsets.only(bottom: 20),child: Text(- S.of(context).customEndpoint(- "${endpointURI.host}:${endpointURI.port}",- ),+ S+ .of(context)+ .customEndpoint("${endpointURI.host}:${endpointURI.port}"),style: Theme.of(context).textTheme.bodySmall,),);