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 servers: [ServerDiscovery.ServerLookupResponse] = []
|
||||||
@Published var searching = false
|
@Published var searching = false
|
||||||
|
|
||||||
override init() {
|
|
||||||
super.init()
|
|
||||||
getPublicUsers()
|
|
||||||
}
|
|
||||||
|
|
||||||
func getPublicUsers() {
|
func getPublicUsers() {
|
||||||
if ServerEnvironment.current.server != nil {
|
if ServerEnvironment.current.server != nil {
|
||||||
LogManager.shared.log.debug("Attempting to read public users from \(ServerEnvironment.current.server.baseURI!)", tag: "getPublicUsers")
|
LogManager.shared.log.debug("Attempting to read public users from \(ServerEnvironment.current.server.baseURI!)", tag: "getPublicUsers")
|
||||||
|
|
Loading…
Reference in New Issue