mirror of
https://github.com/easychen/pushdeer.git
synced 2024-09-09 23:18:18 +08:00
24 lines
406 B
Swift
24 lines
406 B
Swift
|
//
|
||
|
// SettingsView.swift
|
||
|
// PushDeer
|
||
|
//
|
||
|
// Created by Easy on 2021/12/2.
|
||
|
//
|
||
|
|
||
|
import SwiftUI
|
||
|
|
||
|
struct SettingsView: View {
|
||
|
@EnvironmentObject private var store: AppState
|
||
|
var body: some View {
|
||
|
Button("去消息页面"){
|
||
|
store.tab_selected = 1
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
struct SettingsView_Previews: PreviewProvider {
|
||
|
static var previews: some View {
|
||
|
SettingsView()
|
||
|
}
|
||
|
}
|