mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-08 13:04:41 +02:00
21 lines
446 B
Swift
21 lines
446 B
Swift
//
|
|
// Store.swift
|
|
// App
|
|
//
|
|
// Created by Rasmus Krämer on 11.04.22.
|
|
//
|
|
|
|
import Foundation
|
|
import RealmSwift
|
|
|
|
class Store {
|
|
// ONLY USE REALM IN Database.realmQueue OR ELSE THE APP WILL CRASH
|
|
public static var serverConfig: ServerConnectionConfig {
|
|
get {
|
|
return Database.getServerConnectionConfig()
|
|
}
|
|
set(updated) {
|
|
Database.setServerConnectionConfig(config: updated)
|
|
}
|
|
}
|
|
}
|