File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1010
1111#define ONEKEY_VERSION_MAJOR 4
1212#define ONEKEY_VERSION_MINOR 5
13- #define ONEKEY_VERSION_PATCH 0
13+ #define ONEKEY_VERSION_PATCH 1
1414#define ONEKEY_VERSION_BUILD 0
1515
16- #define ONEKEY_VERSION "4.5.0 "
16+ #define ONEKEY_VERSION "4.5.1 "
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ def get_color_and_icon(chain_id: int | None):
182182 if chain_id is None :
183183 return lv .color_hex (0xD2D2D2 ), "A:/res/evm-none.png"
184184 network : EthereumNetworkInfo | None = networks .by_chain_id (chain_id )
185- if network :
185+ if network and network is not networks . UNKNOWN_NETWORK :
186186 return lv .color_hex (network .primary_color ), f"A:/res/{ network .icon } "
187187 else :
188188 return lv .color_hex (0xD2D2D2 ), "A:/res/evm-none.png"
You can’t perform that action at this time.
0 commit comments