add mobile androida and ios apps

This commit is contained in:
2026-05-18 22:30:45 +02:00
parent 0e40a23828
commit 6146bf18b0
32 changed files with 1594 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import Foundation
final class AppSettings: ObservableObject {
static let shared = AppSettings()
var host: String {
get { UserDefaults.standard.string(forKey: "server_host") ?? "192.168.178.100" }
set { UserDefaults.standard.set(newValue, forKey: "server_host") }
}
var password: String {
get { UserDefaults.standard.string(forKey: "server_password") ?? "groove_listen" }
set { UserDefaults.standard.set(newValue, forKey: "server_password") }
}
}