Use uri instead of local address and login to sign in
This commit is contained in:
parent
3599df56e9
commit
1aa2716f42
|
@ -53,7 +53,7 @@ struct UserListView: View {
|
|||
@ViewBuilder
|
||||
private var noUserView: some View {
|
||||
VStack {
|
||||
Text("Login to a user to get started.")
|
||||
Text("Sign in to get started.")
|
||||
.frame(minWidth: 50, maxWidth: 240)
|
||||
.multilineTextAlignment(.center)
|
||||
|
||||
|
@ -69,7 +69,7 @@ struct UserListView: View {
|
|||
.padding([.leading, .trailing], 30)
|
||||
.padding([.top, .bottom], 20)
|
||||
|
||||
Text("Login")
|
||||
Text("Sign in")
|
||||
.foregroundColor(Color.white)
|
||||
.bold()
|
||||
}
|
||||
|
|
|
@ -80,8 +80,7 @@ final class SessionManager {
|
|||
let transaction = SwiftfinStore.dataStack.beginUnsafe()
|
||||
let newServer = transaction.create(Into<SwiftfinStore.Models.StoredServer>())
|
||||
|
||||
guard let uri = response.localAddress,
|
||||
let name = response.serverName,
|
||||
guard let name = response.serverName,
|
||||
let id = response.id,
|
||||
let os = response.operatingSystem,
|
||||
let version = response.version else { throw JellyfinAPIError("Missing server data from network call") }
|
||||
|
|
Loading…
Reference in New Issue