Merge pull request #146 from LePips/fix-connect-to-server-loading

Fix connect to server loading
This commit is contained in:
aiden 3 2021-08-18 16:09:35 -04:00 committed by GitHub
commit c7df201a5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -27,11 +27,6 @@ final class ConnectToServerViewModel: ViewModel {
@Published var servers: [ServerDiscovery.ServerLookupResponse] = []
@Published var searching = false
override init() {
super.init()
getPublicUsers()
}
func getPublicUsers() {
if ServerEnvironment.current.server != nil {
LogManager.shared.log.debug("Attempting to read public users from \(ServerEnvironment.current.server.baseURI!)", tag: "getPublicUsers")

View File

@ -14,7 +14,7 @@ import JellyfinAPI
class ViewModel: ObservableObject {
@Published var isLoading = true
@Published var isLoading = false
@Published var errorMessage: ErrorMessage?
let loading = ActivityIndicator()