wip
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
//
|
||||
// MoodEntryExtension.swift
|
||||
// Feels
|
||||
//
|
||||
// Created by Trey Tartt on 1/5/22.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
enum EntryType: Int {
|
||||
case notification
|
||||
case header
|
||||
case listView
|
||||
case filledInMissing
|
||||
case widget
|
||||
}
|
||||
|
||||
extension MoodEntry {
|
||||
var moodString: String {
|
||||
return Mood.init(rawValue: Int(self.moodValue))?.strValue ?? "NA"
|
||||
}
|
||||
|
||||
var mood: Mood {
|
||||
return Mood.init(rawValue: Int(self.moodValue))!
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user