Skip to content

Commit 712cb8e

Browse files
Load initial configuration on TV login.
1 parent 535044a commit 712cb8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/protonvpn/android/tv/login/TvLoginViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class TvLoginViewModel @Inject constructor(
163163
)
164164
}
165165
currentUser.invalidateCache()
166-
state.value = TvLoginViewState.Success
166+
loadInitialConfig(userId)
167167
}
168168

169169
private suspend fun loadInitialConfig(userId: UserId) {

0 commit comments

Comments
 (0)