mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02:00
revert missing retry and opt keep session (#9755)
* Revert "fix missing retry (#8750)" If `hasRetry` is true: there is a retry timeout; If `hasRetry` is false: there is no retry button; In https://github.com/rustdesk/rustdesk/discussions/8748#discussioncomment-10081038,when doesn't want inactive to retry,cf0e3ec303/flutter/lib/models/model.dart (L444)
, 1.2.3 always show retry no matter what `hasRetry` is. This reverts commitc3c99ba107
. * not keep session if there is no remote connection left. Signed-off-by: 21pages <sunboeasy@gmail.com> --------- Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
parent
129f6c869b
commit
40e8f0d307
3 changed files with 26 additions and 48 deletions
|
@ -638,7 +638,7 @@ class FfiModel with ChangeNotifier {
|
|||
{bool? hasCancel}) {
|
||||
msgBox(sessionId, type, title, text, link, dialogManager,
|
||||
hasCancel: hasCancel,
|
||||
reconnect: reconnect,
|
||||
reconnect: hasRetry ? reconnect : null,
|
||||
reconnectTimeout: hasRetry ? _reconnects : null);
|
||||
_timer?.cancel();
|
||||
if (hasRetry) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue