Remove unused logic

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-11-05 10:46:29 +08:00
parent 4f7af964c6
commit fed699b4ef
2 changed files with 1 additions and 26 deletions

View File

@@ -32,8 +32,6 @@ class ChatModel with ChangeNotifier {
OverlayState? _overlayState;
OverlayEntry? chatIconOverlayEntry;
OverlayEntry? chatWindowOverlayEntry;
bool _showOnWindowRestore = false;
bool _isWindowMinimized = false;
bool isConnManager = false;
final ChatUser me = ChatUser(
@@ -69,13 +67,6 @@ class ChatModel with ChangeNotifier {
}
}
setWindowMinimized(bool v) {
_isWindowMinimized = v;
if (!_isWindowMinimized && _showOnWindowRestore) {
_showOnWindowRestore = false;
}
}
setOverlayState(OverlayState? os) {
_overlayState = os;
}