Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ open class LoginActivity : FragmentActivity() {
// Check if the user backed out of the custom tab.
if (result.resultCode == Activity.RESULT_CANCELED) {
if (viewModel.singleServerCustomTabActivity) {
finish()
// Show blank page and spinner until PKCE is done.
viewModel.loginUrl.value = ABOUT_BLANK
} else {
// Don't show server picker if we are re-authenticating with cookie.
clearWebView(showServerPicker = !sharedBrowserSession)
Expand Down Expand Up @@ -1192,7 +1193,7 @@ open class LoginActivity : FragmentActivity() {
val useLightIcons = titleTextColorLight ?: topAppBarDark ?: dynamicThemeIsDark
WindowCompat.getInsetsController(window, window.decorView).isAppearanceLightStatusBars = useLightIcons
}.also {
if (!viewModel.authFinished.value) {
if (!viewModel.authFinished.value && url != ABOUT_BLANK) {
viewModel.loading.value = false
}
}
Expand Down
Loading