π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Update
vishnukvmd84f329ea9cd8
diff --git a/mobile/lib/ui/home/custom_icons.dart b/mobile/lib/ui/home/custom_icons.dartindex 2922a20322..538761b192 100644--- a/mobile/lib/ui/home/custom_icons.dart+++ b/mobile/lib/ui/home/custom_icons.dart@@ -61,7 +61,7 @@ final class IconGreen extends CustomIcon {IconGreen(): super(iOSIcon: 'IconGreen',- androidIcon: 'IconGreen',+ androidIcon: 'MainActivity',previewPath: 'assets/icons/icon2.png',isDefaultIcon: true,);diff --git a/mobile/lib/ui/home/landing_page_widget.dart b/mobile/lib/ui/home/landing_page_widget.dartindex 246bf8dda2..fdaa7c0777 100644--- a/mobile/lib/ui/home/landing_page_widget.dart+++ b/mobile/lib/ui/home/landing_page_widget.dart@@ -261,7 +261,7 @@ class _LandingPageWidgetState extends State<LandingPageWidget> {Logger("Icon").info("Initializing");final iconChanger = LauncherIconSwitcher();await iconChanger- .initialize(['IconLight', 'IconDark', 'IconGreen'], 'IconGreen');+ .initialize(['IconLight', 'IconDark', 'IconGreen'], 'IconLight');Logger("Icon").info("Initialized");final currentIcon = await iconChanger.getCurrentIcon();Logger("Icon").info("Current Icon: " + currentIcon);@@ -281,8 +281,12 @@ class _LandingPageWidgetState extends State<LandingPageWidget> {final iconChanger = FlutterAppIconChangerPlugin(iconsSet: CustomIcons.list,);+ final defaultIcon = CustomIcons.list.firstWhere(+ (element) => element.isDefaultIcon,+ );Logger("Icon").info("Initialized");- final currentIcon = await iconChanger.getCurrentIcon() ?? "none";+ final currentIcon =+ await iconChanger.getCurrentIcon() ?? defaultIcon.androidIcon;Logger("Icon").info("Current Icon: " + currentIcon);final isSupported = await iconChanger.isSupported();Logger("Icon").info("Supported: " + isSupported.toString());@@ -293,7 +297,8 @@ class _LandingPageWidgetState extends State<LandingPageWidget> {} else {await iconChanger.changeIcon(CustomIcons.list[0].androidIcon);}- final newIcon = await iconChanger.getCurrentIcon() ?? "none";+ final newIcon =+ await iconChanger.getCurrentIcon() ?? defaultIcon.androidIcon;Logger("Icon").info("App icon changed to " + newIcon);return;} catch (e, s) {