From cff32987ffb5ce0b71c7fda6bb9f5c70c09ebf59 Mon Sep 17 00:00:00 2001 From: X1nto Date: Thu, 6 Aug 2020 12:00:27 +0400 Subject: [PATCH] suppresed error --- .../java/com/vanced/manager/ui/fragments/SettingsFragment.kt | 2 ++ app/src/main/res/values-af-rZA/strings.xml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/vanced/manager/ui/fragments/SettingsFragment.kt b/app/src/main/java/com/vanced/manager/ui/fragments/SettingsFragment.kt index c1e0819f..0e8afcf6 100644 --- a/app/src/main/java/com/vanced/manager/ui/fragments/SettingsFragment.kt +++ b/app/src/main/java/com/vanced/manager/ui/fragments/SettingsFragment.kt @@ -1,5 +1,6 @@ package com.vanced.manager.ui.fragments +import android.annotation.SuppressLint import android.os.Bundle import android.view.Menu import android.view.MenuInflater @@ -10,6 +11,7 @@ import com.vanced.manager.R class SettingsFragment : PreferenceFragmentCompat() { + @SuppressLint("StringFormatInvalid") override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) { setPreferencesFromResource(R.xml.preferences, rootKey) diff --git a/app/src/main/res/values-af-rZA/strings.xml b/app/src/main/res/values-af-rZA/strings.xml index 2d4d0635..47f79453 100644 --- a/app/src/main/res/values-af-rZA/strings.xml +++ b/app/src/main/res/values-af-rZA/strings.xml @@ -59,8 +59,8 @@ Dark Theme Light Theme Update Channel URL - Push Notifications - Receive push notifications when an update is released + %1$s Push Notifications + Receive push notifications when an update for %1$s is released Re-check Manager Update Center Update found!