mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 02:57:22 +00:00
fix request elevation menu not displayed when reconnect
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -1660,6 +1660,7 @@ class ElevationModel with ChangeNotifier {
|
||||
bool get showRequestMenu => _canElevate && !_running;
|
||||
onPeerInfo(PeerInfo pi) {
|
||||
_canElevate = pi.platform == kPeerPlatformWindows && pi.sasEnabled == false;
|
||||
_running = false;
|
||||
}
|
||||
|
||||
onPortableServiceRunning(Map<String, dynamic> evt) {
|
||||
|
||||
Reference in New Issue
Block a user