Skip to content

Commit 0bd501a

Browse files
committed
Fix hero logo size on macOS — use 44px icon source for desktop
1 parent 14f44d7 commit 0bd501a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

assets/mango-app-icon-44.png

2.33 KB
Loading

src/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,8 +799,8 @@ function showConnectionForm(): void {
799799
refreshConnectionList();
800800

801801
// --- Hero banner (full-width via ScrollView Width alignment) ---
802-
const heroLogo = ImageFile('assets/mango-app-icon-128.png');
803-
heroLogo.setSize(mobile ? 40 : 56, mobile ? 40 : 56);
802+
const heroLogo = ImageFile(mobile ? 'assets/mango-app-icon-128.png' : 'assets/mango-app-icon-44.png');
803+
heroLogo.setSize(mobile ? 40 : 44, mobile ? 40 : 44);
804804

805805
const heroTitle = Text('Mango');
806806
textSetFontSize(heroTitle, mobile ? 28 : 38);

0 commit comments

Comments
 (0)