Skip to content

Commit

Permalink
use mac style icon
Browse files Browse the repository at this point in the history
  • Loading branch information
awkj committed Apr 24, 2022
1 parent 89a74f0 commit 6e536e2
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
Binary file added src-tauri/icons/dollar-blank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src-tauri/icons/dollar-blank.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"tauri": {
"systemTray": {
"iconPath": "icons/money.png",
"iconPath": "icons/dollar-blank.png",
"iconAsTemplate": false
},
"bundle": {
Expand Down
3 changes: 2 additions & 1 deletion src/component/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export function getTips(tips: string, stock: Stock | undefined) {
}


if (['休盘中', '已收盘', '休市'].includes(stock.status)) {
// if (['休盘中', '已收盘', '休市'].includes(stock.status)) {
if (stock.status !== '交易中') {
return [stock?.status, 'bg-gray-600/80']
}

Expand Down

0 comments on commit 6e536e2

Please sign in to comment.