Consolidate images and files
This commit is contained in:
18
CHDataManagement/Main/TabSelection.swift
Normal file
18
CHDataManagement/Main/TabSelection.swift
Normal file
@ -0,0 +1,18 @@
|
||||
import SwiftUI
|
||||
import SFSafeSymbols
|
||||
|
||||
enum MainViewTab {
|
||||
case posts
|
||||
case pages
|
||||
case tags
|
||||
case files
|
||||
case generation
|
||||
|
||||
var canAddItems: Bool {
|
||||
if case .generation = self {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user