simplify Exercise to only hold on to the unit of the metric, remove ValueKeyboard as input
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// Random.swift
|
||||
// WorkoutsPlus
|
||||
//
|
||||
// Created by Felix Förtsch on 01.10.24.
|
||||
//
|
||||
|
||||
//import Foundation
|
||||
//
|
||||
//enum Unit: String, CaseIterable, Codable {
|
||||
// case none = ""
|
||||
//
|
||||
// case kilogram = "kg"
|
||||
// case gram = "g"
|
||||
//
|
||||
// case liter = "l"
|
||||
// case milliliter = "ml"
|
||||
//
|
||||
// case kilometer = "km"
|
||||
// case meter = "m"
|
||||
//
|
||||
// case hour = "h"
|
||||
// case minute = "min"
|
||||
// case second = "s"
|
||||
//
|
||||
// var description: String { rawValue }
|
||||
//}
|
||||
Reference in New Issue
Block a user