1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-13 22:00:31 +05:30
yattee/Shared/Views/HomeSettingsButton.swift

22 lines
465 B
Swift
Raw Normal View History

2023-05-25 17:58:29 +05:30
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()
}
}