[mob][photos] Do not show "open public links in app" permission if self-hosted ente
This commit is contained in:
@@ -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' ||
|
||||
|
||||
Reference in New Issue
Block a user