Fix last updated timestamp to be accurate when switching price source

This commit is contained in:
2024-08-31 10:39:35 +03:00
parent 7f22956557
commit c15eb81995
2 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ import Foundation
import SwiftUI
class SatsViewModel: ObservableObject {
@Published var lastUpdated: Date = Date.now
@Published var lastUpdated: Date?
@Published var btcToUsdStringInternal: String = ""
@Published var satsStringInternal: String = ""