yattee/Shared/Views/HomeSettingsButton.swift

23 lines
496 B
Swift
Raw Normal View History

2023-05-25 12:28:29 +00:00
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)
2024-02-26 13:12:11 +00:00
.help("Home Settings")
2023-05-25 12:28:29 +00:00
}
}
struct HomeSettingsButton_Previews: PreviewProvider {
static var previews: some View {
HomeSettingsButton()
}
}