diff --git a/shared/src/commonMain/composeResources/values/strings.xml b/shared/src/commonMain/composeResources/values/strings.xml index 86a80d1af..4daa97b7a 100644 --- a/shared/src/commonMain/composeResources/values/strings.xml +++ b/shared/src/commonMain/composeResources/values/strings.xml @@ -327,4 +327,11 @@ Channels Notifications are disabled + + Updates + Show a notification to prompt app update when a new version is available + Check for updates + Manually check for new versions + Checking for updates… + diff --git a/shared/src/commonMain/kotlin/net/newpipe/app/preferences/UpdatePreferences.kt b/shared/src/commonMain/kotlin/net/newpipe/app/preferences/UpdatePreferences.kt new file mode 100644 index 000000000..84b75d09a --- /dev/null +++ b/shared/src/commonMain/kotlin/net/newpipe/app/preferences/UpdatePreferences.kt @@ -0,0 +1,15 @@ +/* + * SPDX-FileCopyrightText: 2026 NewPipe e.V. + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +package net.newpipe.app.preferences + +/** + * Preference keys and defaults for the Updates settings screen + */ +object UpdatePreferences { + const val KEY_UPDATE_APP = "update_app_key" + + const val DEFAULT_UPDATE_APP = false +}