feat: warn before installing a Decky plugin ZIP (#1263)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-21 12:47:10 -04:00
1 parent bd76b39b84
commit 5d8fd3f5f0
5 files changed
+59

No files matched your search

@@ -768,6 +768,9 @@ class MainActivity : ComponentActivity() {
setContent {
DroidDeckTheme(theme, appScale = appScale) {
com.droiddeck.launcher.ui.FocusGlideHost(androidx.compose.ui.Modifier.fillMaxSize().exposeTestTags()) {
if (decky.deckyPendingZip != null) com.droiddeck.launcher.ui.DeckyZipWarningDialog(
onConfirm = { decky.confirmPluginZip() }, onCancel = { decky.cancelPluginZip() },
)
val page: (@Composable () -> Unit)? = when {
showPerformance -> { { PerformanceHost() } }
showComponents -> { { ComponentsHost() } }