diff --git a/apps/android-tv/app/src/main/java/nl/vonas/mediacluster/tv/ui/McNav.kt b/apps/android-tv/app/src/main/java/nl/vonas/mediacluster/tv/ui/McNav.kt index 973013a..ce794ec 100644 --- a/apps/android-tv/app/src/main/java/nl/vonas/mediacluster/tv/ui/McNav.kt +++ b/apps/android-tv/app/src/main/java/nl/vonas/mediacluster/tv/ui/McNav.kt @@ -199,12 +199,13 @@ fun McNav() { } DisposableEffect(Unit) { + if (!BuildConfig.APPLIANCE_BUILD) return@DisposableEffect onDispose { } val receiver = OtaInstallReceiver.register(context) onDispose { runCatching { context.unregisterReceiver(receiver) } } } LaunchedEffect(authed, hasProfile) { - if (!authed || !hasProfile) return@LaunchedEffect + if (!BuildConfig.APPLIANCE_BUILD || !authed || !hasProfile) return@LaunchedEffect while (true) { runCatching { val check = AppUpdateInstaller.check(api) @@ -2545,6 +2546,8 @@ private fun SettingsScreen( ) } } + // OTA alleen op de X88 (appliance); store-builds updaten via normale installatie. + if (BuildConfig.APPLIANCE_BUILD) { Spacer(Modifier.height(10.dp)) SettingsActionRow( title = when { @@ -2592,6 +2595,7 @@ private fun SettingsScreen( } }, ) + } if (isOwner) { Spacer(Modifier.height(10.dp)) SettingsActionRow(