Skip to content

Commit

Permalink
fix: Use installed tray icon when in Flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
Fei1Yang committed Jan 8, 2025
1 parent 4bb308a commit 726a751
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/utils/tray_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ class TrayManager {
return 'assets/tray_icon_$brightness.ico';
}

if (Platform.isLinux && bool.hasEnvironment('FLATPAK_ID')) {
return 'ci.not.Rune-tray-$brightness';
}

return 'assets/linux-tray-$brightness.svg';
}

Expand Down

0 comments on commit 726a751

Please sign in to comment.