mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 22:46:04 +03:00
Add ncKitAccount property to NextcloudAccount
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
2b5425390d
commit
9e2c8f355d
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@ import FileProvider
|
||||||
|
|
||||||
class NextcloudAccount: NSObject {
|
class NextcloudAccount: NSObject {
|
||||||
let webDavFilesUrlSuffix: String = "/remote.php/dav/files/"
|
let webDavFilesUrlSuffix: String = "/remote.php/dav/files/"
|
||||||
let username, password: String?
|
let username, password, ncKitAccount: String?
|
||||||
let serverUrl, davFilesUrl: URL?
|
let serverUrl, davFilesUrl: URL?
|
||||||
|
|
||||||
var isNull: Bool {
|
var isNull: Bool {
|
||||||
|
@ -50,6 +50,7 @@ class NextcloudAccount: NSObject {
|
||||||
|
|
||||||
username = usernameString
|
username = usernameString
|
||||||
password = passwordString
|
password = passwordString
|
||||||
|
ncKitAccount = usernameString + " " + serverUrlString
|
||||||
serverUrl = serverUrlUrl
|
serverUrl = serverUrlUrl
|
||||||
davFilesUrl = davFilesUrlUrl
|
davFilesUrl = davFilesUrlUrl
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue