Commit 4abc4c34 authored by sugita mamoru's avatar sugita mamoru

誤ってAlertが表示される問題を修正

parent 575810d0
......@@ -75,4 +75,5 @@ struct NotificationView: View {
#Preview {
NotificationView()
.environmentObject(SelectedTabModel())
}
......@@ -38,13 +38,6 @@ struct MapTaskView: View {
Button(action: {
taskViewModel.viewMode = .SwitchingMenu
taskViewModel.isShowSettingView = false
if var eca = SharingData.eca.ecaArea.map({ $0.1 }).filter({ $0.isRunning }).first{
eca.status = .noticePass
// SharingData.eca.editEcaArea(key: eca.name, value: eca)
SharingData.eca.isShowEcaAlert = true
}
}, label: {
if taskViewModel.viewMode != .SwitchingMenu || taskViewModel.isShowSettingView{
Image("ink_02")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment