refine i18n, fill in miss parts
fix resetTrust cant recover send button in UI
This commit is contained in:
7
main.go
7
main.go
@@ -81,6 +81,9 @@ func main() {
|
||||
},
|
||||
})
|
||||
|
||||
// 设置系统托盘
|
||||
setupSystray(app, window)
|
||||
|
||||
// 窗口文件拖拽事件
|
||||
window.OnWindowEvent(events.Common.WindowFilesDropped, func(event *application.WindowEvent) {
|
||||
files := event.Context().DroppedFiles()
|
||||
@@ -91,10 +94,6 @@ func main() {
|
||||
})
|
||||
})
|
||||
|
||||
// 窗口关闭事件
|
||||
// window.OnWindowEvent(events.Common.WindowClosing, func(event *application.WindowEvent) {
|
||||
// })
|
||||
|
||||
// 应用关闭事件
|
||||
app.OnShutdown(func() {
|
||||
x, y := window.Position()
|
||||
|
||||
Reference in New Issue
Block a user