From 107510d577d89e188a677f82c4a0826241b9b19f Mon Sep 17 00:00:00 2001 From: choykarl <253440030@qq.com> Date: Mon, 29 Jan 2024 23:09:00 +0800 Subject: [PATCH] Update Easydict/NewApp/EasydictApp.swift Co-authored-by: Tisfeng --- Easydict/NewApp/EasydictApp.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Easydict/NewApp/EasydictApp.swift b/Easydict/NewApp/EasydictApp.swift index fb645baf6..8522e0765 100644 --- a/Easydict/NewApp/EasydictApp.swift +++ b/Easydict/NewApp/EasydictApp.swift @@ -71,7 +71,9 @@ extension Bool { } } -enum MenuBarIconType: UInt, CaseIterable { +enum MenuBarIconType: UInt, CaseIterable, Identifiable { + var id: Self { self } + case classical = 0 case debug = 1