mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
22 lines
465 B
Swift
22 lines
465 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)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
struct HomeSettingsButton_Previews: PreviewProvider {
|
||
|
static var previews: some View {
|
||
|
HomeSettingsButton()
|
||
|
}
|
||
|
}
|