From 3f134dc0b295abb4705c86002f130e73d52a82f7 Mon Sep 17 00:00:00 2001 From: Blatzar <46196380+Blatzar@users.noreply.github.com> Date: Wed, 17 Aug 2022 19:35:53 +0200 Subject: [PATCH] More unprivated functions :) --- .../com/lagradost/cloudstream3/ui/settings/SettingsAccount.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsAccount.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsAccount.kt index 48d47387..7d809187 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsAccount.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsAccount.kt @@ -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 -> {