mirror of
https://github.com/octopusYan/alist-gui.git
synced 2024-11-22 03:56:42 +08:00
fix: 密码弹窗
This commit is contained in:
parent
0660674f7f
commit
4702396bbc
@ -2,10 +2,7 @@ package cn.octopusyan.alistgui.config;
|
|||||||
|
|
||||||
import cn.octopusyan.alistgui.Application;
|
import cn.octopusyan.alistgui.Application;
|
||||||
import cn.octopusyan.alistgui.base.BaseController;
|
import cn.octopusyan.alistgui.base.BaseController;
|
||||||
import cn.octopusyan.alistgui.controller.AboutController;
|
import cn.octopusyan.alistgui.controller.*;
|
||||||
import cn.octopusyan.alistgui.controller.MainController;
|
|
||||||
import cn.octopusyan.alistgui.controller.RootController;
|
|
||||||
import cn.octopusyan.alistgui.controller.SetupController;
|
|
||||||
import cn.octopusyan.alistgui.manager.ConfigManager;
|
import cn.octopusyan.alistgui.manager.ConfigManager;
|
||||||
import cn.octopusyan.alistgui.manager.ConsoleLog;
|
import cn.octopusyan.alistgui.manager.ConsoleLog;
|
||||||
import cn.octopusyan.alistgui.util.FxmlUtil;
|
import cn.octopusyan.alistgui.util.FxmlUtil;
|
||||||
@ -76,6 +73,7 @@ public class Context {
|
|||||||
case MainController main -> main;
|
case MainController main -> main;
|
||||||
case SetupController setup -> setup;
|
case SetupController setup -> setup;
|
||||||
case AboutController about -> about;
|
case AboutController about -> about;
|
||||||
|
case PasswordController passwod -> passwod;
|
||||||
default -> throw new IllegalStateException(STR."Unexpected value: \{type}");
|
default -> throw new IllegalStateException(STR."Unexpected value: \{type}");
|
||||||
};
|
};
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user