Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Do not show "open public links in app" permission if self-hosted ente

Aman Raj Singh Mourya3f673d409aa6
diff --git a/mobile/lib/ui/tabs/home_widget.dart b/mobile/lib/ui/tabs/home_widget.dart
index a1e2018936..32c46e6233 100644
--- a/mobile/lib/ui/tabs/home_widget.dart
+++ b/mobile/lib/ui/tabs/home_widget.dart
@@ -246,7 +246,8 @@ class _HomeWidgetState extends State<HomeWidget> {
if (Platform.isAndroid &&
!localSettings.hasConfiguredInAppLinkPermissions() &&
- RemoteSyncService.instance.isFirstRemoteSyncDone()) {
+ RemoteSyncService.instance.isFirstRemoteSyncDone() &&
+ Configuration.instance.getHttpEndpoint() == "https://api.ente.io") {
PackageInfo.fromPlatform().then((packageInfo) {
final packageName = packageInfo.packageName;
if (packageName == 'io.ente.photos.independent' ||