diff --git a/apps/biyi_app/lib/app/available_ocr_engines/page.dart b/apps/biyi_app/lib/app/available_ocr_engines/page.dart index 2c5f926..9c36a0c 100644 --- a/apps/biyi_app/lib/app/available_ocr_engines/page.dart +++ b/apps/biyi_app/lib/app/available_ocr_engines/page.dart @@ -111,7 +111,7 @@ class _AvailableOcrEnginesPageState extends State { return Scaffold( appBar: CustomizedAppBar( title: Text( - LocaleKeys.app_ocr_engines_private_title.tr(), + LocaleKeys.app_ocr_engines_title.tr(), ), actions: [ Button( diff --git a/apps/biyi_app/lib/app/home/desktop_popup.dart b/apps/biyi_app/lib/app/home/desktop_popup.dart index 4e2d7a6..5e52f75 100644 --- a/apps/biyi_app/lib/app/home/desktop_popup.dart +++ b/apps/biyi_app/lib/app/home/desktop_popup.dart @@ -161,7 +161,7 @@ class _DesktopPopupPageState extends State windowManager.setSize(size), windowManager.setMinimumSize(minimunSize), windowManager.setMaximumSize(maximumSize), - windowManager.setSkipTaskbar(false), + windowManager.setSkipTaskbar(true), windowManager.setTitleBarStyle( TitleBarStyle.hidden, windowButtonVisibility: false, diff --git a/apps/biyi_app/lib/main.dart b/apps/biyi_app/lib/main.dart index f198c65..6f973ac 100644 --- a/apps/biyi_app/lib/main.dart +++ b/apps/biyi_app/lib/main.dart @@ -71,7 +71,7 @@ void main() async { desktop: () async { const WindowOptions windowOptions = WindowOptions( alwaysOnTop: false, - skipTaskbar: false, + skipTaskbar: true, titleBarStyle: TitleBarStyle.hidden, windowButtonVisibility: false, ); diff --git a/apps/biyi_app/lib/widgets/customized_app_bar/customized_app_bar.dart b/apps/biyi_app/lib/widgets/customized_app_bar/customized_app_bar.dart index 15f92c6..fe946f9 100644 --- a/apps/biyi_app/lib/widgets/customized_app_bar/customized_app_bar.dart +++ b/apps/biyi_app/lib/widgets/customized_app_bar/customized_app_bar.dart @@ -67,7 +67,7 @@ class CustomizedAppBar extends StatelessWidget implements PreferredSizeWidget { child: title, ), Expanded(child: Container()), - if (actions != null) + if ((actions ?? []).isNotEmpty) GappedRow( gap: 4, children: actions!,