mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-08-20 05:21:36 +08:00
move closing-tabs to local config, and add glgetstring to stack check
This commit is contained in:
@ -1282,6 +1282,15 @@ bool mainGetBoolOptionSync(String key) {
|
||||
return option2bool(key, bind.mainGetOptionSync(key: key));
|
||||
}
|
||||
|
||||
mainSetLocalBoolOption(String key, bool value) async {
|
||||
String v = bool2option(key, value);
|
||||
await bind.mainSetLocalOption(key: key, value: v);
|
||||
}
|
||||
|
||||
bool mainGetLocalBoolOptionSync(String key) {
|
||||
return option2bool(key, bind.mainGetLocalOption(key: key));
|
||||
}
|
||||
|
||||
Future<bool> matchPeer(String searchText, Peer peer) async {
|
||||
if (searchText.isEmpty) {
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user