TF-3479 Handle switch state display mode of multiple composer (Fullscreen <-> Normal <-> Minimize)

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-02-14 02:03:22 +07:00
committed by Dat H. Pham
parent c603b5e40b
commit e6ad72e42d
8 changed files with 283 additions and 211 deletions
@@ -2,18 +2,6 @@
enum ScreenDisplayMode {
fullScreen,
minimize,
normal;
factory ScreenDisplayMode.fromJson(String value) {
switch (value) {
case 'fullScreen':
return ScreenDisplayMode.fullScreen;
case 'minimize':
return ScreenDisplayMode.minimize;
default:
return ScreenDisplayMode.normal;
}
}
String toJson() => name;
normal,
hidden;
}