mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 13:14:32 +00:00
expand the ternary for readability
This commit is contained in:
parent
7654da1d8b
commit
e2baf7372c
1 changed files with 6 additions and 1 deletions
|
@ -37,7 +37,12 @@ enum Coin {
|
|||
firoTestNet,
|
||||
}
|
||||
|
||||
int kTestNetCoinCount = (Platform.isLinux || Platform.isWindows || Platform.isMacOS) ? 5 : 4;
|
||||
if(Platform.isLinux || Platform.isWindows || Platform.isMacOS) {
|
||||
int kTestNetCoinCount = 5; // Because we are removing Wownero from Desktop
|
||||
} else {
|
||||
// remove firotestnet for now
|
||||
int kTestNetCoinCount = 4;
|
||||
}
|
||||
|
||||
extension CoinExt on Coin {
|
||||
String get prettyName {
|
||||
|
|
Loading…
Reference in a new issue