Replace lazy AppStorage calls with AccountManager

This commit is contained in:
2025-04-25 14:26:05 +02:00
parent d3143915ea
commit 351f08e43e
16 changed files with 392 additions and 270 deletions
+24
View File
@@ -0,0 +1,24 @@
//
// Account.swift
// meterios
//
// (c) 2025 Martin "maride" Dessauer
//
struct Account: Encodable, Decodable {
private let address: String
private let userID: Int
init(address: String, userID: Int) {
self.address = address
self.userID = userID
}
func GetAddress() -> String {
return address
}
func GetUserID() -> Int {
return userID
}
}