mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-01-18 21:06:44 -06:00
[Fix] Suppress i18n warning in GradesConfigDialog.
This commit is contained in:
parent
f70a1f5730
commit
d68ab0d010
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
package pl.szczodrzynski.edziennik.ui.dialogs.settings
|
package pl.szczodrzynski.edziennik.ui.dialogs.settings
|
||||||
|
|
||||||
|
import android.annotation.SuppressLint
|
||||||
import androidx.appcompat.app.AlertDialog
|
import androidx.appcompat.app.AlertDialog
|
||||||
import androidx.appcompat.app.AppCompatActivity
|
import androidx.appcompat.app.AppCompatActivity
|
||||||
import androidx.core.view.isVisible
|
import androidx.core.view.isVisible
|
||||||
@ -59,6 +60,7 @@ class GradesConfigDialog(
|
|||||||
dialog.show()
|
dialog.show()
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
@SuppressLint("SetTextI18n")
|
||||||
private fun loadConfig() {
|
private fun loadConfig() {
|
||||||
b.customPlusCheckBox.isChecked = profileConfig.plusValue != null
|
b.customPlusCheckBox.isChecked = profileConfig.plusValue != null
|
||||||
b.customPlusValue.isVisible = b.customPlusCheckBox.isChecked
|
b.customPlusValue.isVisible = b.customPlusCheckBox.isChecked
|
||||||
|
Loading…
x
Reference in New Issue
Block a user