mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-11-23 15:47:20 +00:00
add update settings strings and preference keys
This commit is contained in:
1 parent
a3abb0c37a
commit
a57de6e4ca
2 files changed
+22
No files matched your search
@@ -327,4 +327,11 @@
|
||||
<string name="channels">Channels</string>
|
||||
<string name="notifications_disabled">Notifications are disabled</string>
|
||||
|
||||
<!-- Update Settings -->
|
||||
<string name="updates_setting_title">Updates</string>
|
||||
<string name="updates_setting_description">Show a notification to prompt app update when a new version is available</string>
|
||||
<string name="check_for_updates">Check for updates</string>
|
||||
<string name="manual_update_description">Manually check for new versions</string>
|
||||
<string name="checking_updates_toast">Checking for updates…</string>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2026 NewPipe e.V. <https://newpipe-ev.de>
|
||||
* 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
|
||||
}
|
||||
Reference in new issue
Block a user