mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-16 08:21:28 +03:00
refact: replace some option keys (#8090)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -289,9 +289,9 @@ class ConnectionManagerState extends State<ConnectionManager> {
|
||||
windowManager.close();
|
||||
return true;
|
||||
} else {
|
||||
final opt = "enable-confirm-closing-tabs";
|
||||
final bool res;
|
||||
if (!option2bool(opt, bind.mainGetLocalOption(key: opt))) {
|
||||
if (!option2bool(kOptionEnableConfirmClosingTabs,
|
||||
bind.mainGetLocalOption(key: kOptionEnableConfirmClosingTabs))) {
|
||||
res = true;
|
||||
} else {
|
||||
res = await closeConfirmDialog();
|
||||
|
||||
Reference in New Issue
Block a user