Improve saving, show start time

This commit is contained in:
Christoph Hagen
2025-02-16 18:03:53 +01:00
parent ece39cb95e
commit 0cc0f76254
5 changed files with 12 additions and 10 deletions

View File

@ -7,6 +7,7 @@ enum SaveState {
case isSaved
case needsSave
case failedToSave
case isSaving
var symbol: SFSymbol {
switch self {
@ -20,6 +21,8 @@ enum SaveState {
return .hourglassCircleFill
case .failedToSave:
return .exclamationmarkTriangleFill
case .isSaving:
return .hourglassCircleFill
}
}
@ -27,7 +30,7 @@ enum SaveState {
switch self {
case .storageNotInitialized:
return .red
case .isSaved:
case .isSaved, .isSaving:
return .green
case .needsSave:
return .yellow