Skip to content

Commit

Permalink
wip: Update on 20240624-1
Browse files Browse the repository at this point in the history
  • Loading branch information
lijy91 committed Jun 24, 2024
1 parent 201b1c4 commit 06b8074
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/biyi_app/lib/app/available_ocr_engines/page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class _AvailableOcrEnginesPageState extends State<AvailableOcrEnginesPage> {
return Scaffold(
appBar: CustomizedAppBar(
title: Text(
LocaleKeys.app_ocr_engines_private_title.tr(),
LocaleKeys.app_ocr_engines_title.tr(),
),
actions: [
Button(
Expand Down
2 changes: 1 addition & 1 deletion apps/biyi_app/lib/app/home/desktop_popup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class _DesktopPopupPageState extends State<DesktopPopupPage>
windowManager.setSize(size),
windowManager.setMinimumSize(minimunSize),
windowManager.setMaximumSize(maximumSize),
windowManager.setSkipTaskbar(false),
windowManager.setSkipTaskbar(true),
windowManager.setTitleBarStyle(
TitleBarStyle.hidden,
windowButtonVisibility: false,
Expand Down
2 changes: 1 addition & 1 deletion apps/biyi_app/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void main() async {
desktop: () async {
const WindowOptions windowOptions = WindowOptions(
alwaysOnTop: false,
skipTaskbar: false,
skipTaskbar: true,
titleBarStyle: TitleBarStyle.hidden,
windowButtonVisibility: false,
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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!,
Expand Down

0 comments on commit 06b8074

Please sign in to comment.