Commit 547201c8 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Fix bug that wasn't showing the login options for the first time.

parent a8ce982a
...@@ -87,7 +87,7 @@ fun newInstance( ...@@ -87,7 +87,7 @@ fun newInstance(
deepLinkInfo: LoginDeepLinkInfo? = null deepLinkInfo: LoginDeepLinkInfo? = null
): Fragment { ): Fragment {
return LoginOptionsFragment().apply { return LoginOptionsFragment().apply {
arguments = Bundle(19).apply { arguments = Bundle(23).apply {
putString(SERVER_NAME, serverName) putString(SERVER_NAME, serverName)
putString(STATE, state) putString(STATE, state)
putString(FACEBOOK_OAUTH_URL, facebookOauthUrl) putString(FACEBOOK_OAUTH_URL, facebookOauthUrl)
......
...@@ -117,7 +117,6 @@ abstract class CheckServerPresenter constructor( ...@@ -117,7 +117,6 @@ abstract class CheckServerPresenter constructor(
} }
internal suspend fun checkEnabledAccounts(serverUrl: String) { internal suspend fun checkEnabledAccounts(serverUrl: String) {
launchUI(strategy) {
try { try {
val services = retryIO("settingsOauth()") { val services = retryIO("settingsOauth()") {
client.settingsOauth().services client.settingsOauth().services
...@@ -287,7 +286,6 @@ abstract class CheckServerPresenter constructor( ...@@ -287,7 +286,6 @@ abstract class CheckServerPresenter constructor(
Timber.e(exception) Timber.e(exception)
} }
} }
}
internal fun checkIfLoginFormIsEnabled() { internal fun checkIfLoginFormIsEnabled() {
if (settings.isLoginFormEnabled()) { if (settings.isLoginFormEnabled()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment