[Fix] Suppress i18n warning in GradesConfigDialog.

This commit is contained in:
Kacper Ziubryniewicz 2020-05-02 23:55:20 +02:00
parent f70a1f5730
commit d68ab0d010

View File

@ -4,6 +4,7 @@
package pl.szczodrzynski.edziennik.ui.dialogs.settings
import android.annotation.SuppressLint
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.isVisible
@ -59,6 +60,7 @@ class GradesConfigDialog(
dialog.show()
}}
@SuppressLint("SetTextI18n")
private fun loadConfig() {
b.customPlusCheckBox.isChecked = profileConfig.plusValue != null
b.customPlusValue.isVisible = b.customPlusCheckBox.isChecked