mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
More unprivated functions :)
This commit is contained in:
parent
8b321bbd5e
commit
3f134dc0b2
1 changed files with 2 additions and 2 deletions
|
@ -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 -> {
|
||||
|
|
Loading…
Reference in a new issue