-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update staff media list toggle to menu
- Loading branch information
BitForger (Noah)
committed
Feb 6, 2024
1 parent
5a29f14
commit ed192d1
Showing
4 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// | ||
// Enums.swift | ||
// AniHyou | ||
// | ||
// Created by Noah Kovacs on 2/5/24. | ||
// | ||
|
||
import Foundation | ||
import SwiftUI | ||
|
||
public enum StaffOnList: String, Equatable, CaseIterable { | ||
case yes | ||
case no | ||
Check failure on line 13 in AniHyou/Screens/StaffDetails/ViewModels/Enums.swift GitHub Actions / SwiftLint
|
||
case none | ||
|
||
var localizedName: LocalizedStringKey { | ||
switch self { | ||
case .yes: | ||
return "Yes" | ||
case .no: | ||
return "No" | ||
case .none: | ||
return "None" | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters