new dialog impl based on Overlay

This commit is contained in:
csf 2022-08-12 18:42:02 +08:00
parent 2e9a6ed4f6
commit e6329dc7eb
22 changed files with 526 additions and 476 deletions

View file

@ -380,16 +380,16 @@ class _WebMenuState extends State<WebMenu> {
},
onSelected: (value) {
if (value == 'server') {
showServerSettings();
showServerSettings(gFFI.dialogManager);
}
if (value == 'about') {
showAbout();
showAbout(gFFI.dialogManager);
}
if (value == 'login') {
if (username == null) {
showLogin();
showLogin(gFFI.dialogManager);
} else {
logout();
logout(gFFI.dialogManager);
}
}
if (value == 'scan') {