Merge pull request #3540 from Kingtous/master
fix: prevent call minimize when on mobile
This commit is contained in:
commit
1dfbf09974
@ -456,7 +456,8 @@ class ServerModel with ChangeNotifier {
|
||||
Future.delayed(Duration.zero, () async {
|
||||
if (!hideCm) window_on_top(null);
|
||||
});
|
||||
if (client.authorized) {
|
||||
// Only do the hidden task when on Desktop.
|
||||
if (client.authorized && isDesktop) {
|
||||
cmHiddenTimer = Timer(const Duration(seconds: 3), () {
|
||||
if (!hideCm) windowManager.minimize();
|
||||
cmHiddenTimer = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user