Remove getPublicUsers on init
This commit is contained in:
parent
fc2b9d8a72
commit
35a89a0e80
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue