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(
deepLinkInfo: LoginDeepLinkInfo? = null
): Fragment {
return LoginOptionsFragment().apply {
arguments = Bundle(19).apply {
arguments = Bundle(23).apply {
putString(SERVER_NAME, serverName)
putString(STATE, state)
putString(FACEBOOK_OAUTH_URL, facebookOauthUrl)
......
......@@ -117,7 +117,6 @@ abstract class CheckServerPresenter constructor(
}
internal suspend fun checkEnabledAccounts(serverUrl: String) {
launchUI(strategy) {
try {
val services = retryIO("settingsOauth()") {
client.settingsOauth().services
......@@ -287,7 +286,6 @@ abstract class CheckServerPresenter constructor(
Timber.e(exception)
}
}
}
internal fun checkIfLoginFormIsEnabled() {
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