More unprivated functions :)

This commit is contained in:
Blatzar 2022-08-17 19:35:53 +02:00
parent 8b321bbd5e
commit 3f134dc0b2

View file

@ -63,7 +63,7 @@ class SettingsAccount : PreferenceFragmentCompat() {
}
}
private fun showAccountSwitch(activity: Activity, api: AccountManager) {
fun showAccountSwitch(activity: Activity, api: AccountManager) {
val accounts = api.getAccounts() ?: return
val builder =
@ -97,7 +97,7 @@ class SettingsAccount : PreferenceFragmentCompat() {
}
@UiThread
private fun addAccount(activity: Activity?, api: AccountManager) {
fun addAccount(activity: Activity?, api: AccountManager) {
try {
when (api) {
is OAuth2API -> {