[create-pull-request] automated change

This commit is contained in:
acvigue 2021-06-13 04:49:27 +00:00 committed by GitHub
parent 5a2a0f06a4
commit 296dede7ac
2 changed files with 4 additions and 4 deletions

View File

@ -145,12 +145,12 @@ struct ConnectToServerView: View {
DispatchQueue.main.async { [self] in
globalData.authHeader = authHeader
_rootIsActive.wrappedValue = false
globalData.expiredCredentials = false
globalData.networkError = false
globalData.user = newUser
globalData.server = newServer
jsi.did = true
print("logged in")
}

View File

@ -29,7 +29,7 @@ struct ContentView: View {
@State private var showSettingsPopover: Bool = false
@State private var viewDidLoad: Bool = false
@State private var loadState: Int = 2
@FetchRequest(entity: Server.entity(), sortDescriptors: [NSSortDescriptor(keyPath: \Server.name, ascending: true)])
var servers: FetchedResults<Server>
@ -49,7 +49,7 @@ struct ContentView: View {
} else {
orientationInfo.orientation = .landscape
}
ImageCache.shared.costLimit = 125 * 1024 * 1024 // 125MB memory
DataLoader.sharedUrlCache.diskCapacity = 1000 * 1024 * 1024 // 1000MB disk