yattee/Shared/Views/HomeSettingsButton.swift
2024-02-28 01:03:33 +01:00

23 lines
496 B
Swift

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)
.help("Home Settings")
}
}
struct HomeSettingsButton_Previews: PreviewProvider {
static var previews: some View {
HomeSettingsButton()
}
}