mirror of
https://github.com/yattee/yattee.git
synced 2025-10-12 02:18:17 +00:00
Home Settings
This commit is contained in:
21
Shared/Views/HomeSettingsButton.swift
Normal file
21
Shared/Views/HomeSettingsButton.swift
Normal file
@@ -0,0 +1,21 @@
|
||||
import SwiftUI
|
||||
|
||||
struct HomeSettingsButton: View {
|
||||
var navigation = NavigationModel.shared
|
||||
|
||||
var body: some View {
|
||||
Button {
|
||||
navigation.presentingHomeSettings = true
|
||||
} label: {
|
||||
Label("Home Settings", systemImage: "gear")
|
||||
}
|
||||
.font(.caption)
|
||||
.imageScale(.small)
|
||||
}
|
||||
}
|
||||
|
||||
struct HomeSettingsButton_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
HomeSettingsButton()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user