mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 11:35:56 +00:00
refact: replace some option keys (#8090)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -812,9 +812,9 @@ Future<bool> closeConfirmDialog() async {
|
||||
var confirm = true;
|
||||
final res = await gFFI.dialogManager.show<bool>((setState, close, context) {
|
||||
submit() {
|
||||
final opt = "enable-confirm-closing-tabs";
|
||||
String value = bool2option(opt, confirm);
|
||||
bind.mainSetLocalOption(key: opt, value: value);
|
||||
String value = bool2option(kOptionEnableConfirmClosingTabs, confirm);
|
||||
bind.mainSetLocalOption(
|
||||
key: kOptionEnableConfirmClosingTabs, value: value);
|
||||
close(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user