opt: use const variable

This commit is contained in:
Kingtous
2022-09-19 17:10:12 +08:00
parent 21eb7bd165
commit c2f516f57f
6 changed files with 17 additions and 6 deletions

View File

@@ -60,7 +60,9 @@ class _DesktopTabPageState extends State<DesktopTabPage> {
return Platform.isMacOS
? tabWidget
: Obx(() => DragToResizeArea(
resizeEdgeSize: fullscreen.value ? 1.0 : 4.0, child: tabWidget));
resizeEdgeSize:
fullscreen.value ? kFullScreenEdgeSize : kWindowEdgeSize,
child: tabWidget));
}
void onAddSetting() {