mirror of
https://github.com/mueller-ma/PrepaidBalance.git
synced 2024-09-20 00:12:15 +02:00
parent
2a14f76784
commit
9ac4c56999
@ -108,6 +108,10 @@ class PreferenceActivity : AppCompatActivity() {
|
||||
.show()
|
||||
true
|
||||
}
|
||||
|
||||
val providerCodesPref = getPreference("provider_codes")
|
||||
val config = preferenceManager.context.resources.configuration
|
||||
providerCodesPref.summary = "MCC: ${config.mcc}\nMNC: ${config.mnc}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23,4 +23,5 @@
|
||||
<string name="clear_current_data_summary">Data older than 6 months is deleted automatically</string>
|
||||
<string name="channel_name_error">Error</string>
|
||||
<string name="duplicates">Don\'t save duplicate values</string>
|
||||
<string name="debug">Troubleshooting</string>
|
||||
</resources>
|
@ -40,4 +40,11 @@
|
||||
android:inputType="number"
|
||||
android:defaultValue="1.00" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/debug">
|
||||
<Preference
|
||||
android:key="provider_codes"
|
||||
android:enabled="false"
|
||||
android:persistent="false" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
Loading…
Reference in New Issue
Block a user