mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2025-01-03 16:15:55 +01:00
commit
c7cfb3e72b
@ -88,9 +88,9 @@ class SettingsFragment : ResourceSettingsFragment() {
|
|||||||
context.sendBroadcast(Intent(ACTION_RECONNECT, null, context, TriggerReceiver::class.java))
|
context.sendBroadcast(Intent(ACTION_RECONNECT, null, context, TriggerReceiver::class.java))
|
||||||
}
|
}
|
||||||
database.close()
|
database.close()
|
||||||
getString(R.string.service_status_enabled_short) + " - " + resources.getQuantityString(R.plurals.gcm_registered_apps_counter, regCount, regCount)
|
findPreference<Preference>(PREF_GCM)?.setSummary(context.getResources().getString(R.string.service_status_enabled_short) + " - " + resources.getQuantityString(R.plurals.gcm_registered_apps_counter, regCount, regCount))
|
||||||
} else {
|
} else {
|
||||||
getString(R.string.service_status_disabled_short)
|
findPreference<Preference>(PREF_GCM)?.setSummary(R.string.service_status_disabled_short)
|
||||||
}
|
}
|
||||||
|
|
||||||
findPreference<Preference>(PREF_CHECKIN)?.setSummary(if (getCheckinServiceInfo(context).configuration.enabled) R.string.service_status_enabled_short else R.string.service_status_disabled_short)
|
findPreference<Preference>(PREF_CHECKIN)?.setSummary(if (getCheckinServiceInfo(context).configuration.enabled) R.string.service_status_enabled_short else R.string.service_status_disabled_short)
|
||||||
|
Loading…
Reference in New Issue
Block a user