Fix. Custom client, maxmize of incoming only (#7406)

* Fix. Custom client, maxmize of incoming only

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* format

Signed-off-by: fufesou <shuanglongchen@yeah.net>

---------

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2024-03-16 17:33:58 +08:00
committed by GitHub
parent efd1f24ab2
commit fc90526258
3 changed files with 38 additions and 30 deletions

View File

@@ -3131,3 +3131,8 @@ Size getIncomingOnlyHomeSize() {
Size getIncomingOnlySettingsSize() {
return Size(768, 600);
}
bool isInHomePage() {
final controller = Get.find<DesktopTabController>();
return controller.state.value.selected == 0;
}