0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-30 15:03:02 +00:00

suppresed error

This commit is contained in:
X1nto 2020-08-06 12:00:27 +04:00
parent b5026a7758
commit cff32987ff
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,6 @@
package com.vanced.manager.ui.fragments package com.vanced.manager.ui.fragments
import android.annotation.SuppressLint
import android.os.Bundle import android.os.Bundle
import android.view.Menu import android.view.Menu
import android.view.MenuInflater import android.view.MenuInflater
@ -10,6 +11,7 @@ import com.vanced.manager.R
class SettingsFragment : PreferenceFragmentCompat() { class SettingsFragment : PreferenceFragmentCompat() {
@SuppressLint("StringFormatInvalid")
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) { override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
setPreferencesFromResource(R.xml.preferences, rootKey) setPreferencesFromResource(R.xml.preferences, rootKey)

View file

@ -59,8 +59,8 @@
<string name="theme_dark">Dark Theme</string> <string name="theme_dark">Dark Theme</string>
<string name="theme_light">Light Theme</string> <string name="theme_light">Light Theme</string>
<string name="update_url">Update Channel URL</string> <string name="update_url">Update Channel URL</string>
<string name="push_notifications">Push Notifications</string> <string name="push_notifications">%1$s Push Notifications</string>
<string name="push_notifications_summary">Receive push notifications when an update is released</string> <string name="push_notifications_summary">Receive push notifications when an update for %1$s is released</string>
<string name="re_check">Re-check</string> <string name="re_check">Re-check</string>
<string name="update_center">Manager Update Center</string> <string name="update_center">Manager Update Center</string>
<string name="update_found">Update found!</string> <string name="update_found">Update found!</string>