initial version
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import Foundation
|
||||
|
||||
enum InputMode: String, CaseIterable, Identifiable {
|
||||
case simple
|
||||
case detailed
|
||||
|
||||
var id: String { rawValue }
|
||||
|
||||
var title: String {
|
||||
switch self {
|
||||
case .simple: return "Simple"
|
||||
case .detailed: return "Detailed"
|
||||
}
|
||||
}
|
||||
|
||||
var description: String {
|
||||
switch self {
|
||||
case .simple:
|
||||
return "Enter a single total value per snapshot."
|
||||
case .detailed:
|
||||
return "Enter invested amount and gains to track additional metrics."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user