Skip to content

Commit

Permalink
Add tray icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ziulev committed Nov 10, 2022
1 parent d3392d9 commit 1f1bbfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file added assets/resources/spotter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,11 @@ void main() async {
}

String getImagePath(String imageName) {
return Platform.isWindows ? 'assets/$imageName.bmp' : 'assets/$imageName.png';
return Platform.isWindows ? 'assets/spotter.bmp' : 'assets/spotter.png';
}

String getTrayImagePath(String imageName) {
return Platform.isWindows ? 'assets/$imageName.ico' : 'assets/$imageName.png';
return Platform.isWindows ? 'assets/spotter.ico' : 'assets/spotter.png';
}

typedef Action = bool Function(String query);
Expand Down

0 comments on commit 1f1bbfa

Please sign in to comment.