expand the ternary for readability

This commit is contained in:
sneurlax 2022-11-22 11:56:13 -06:00
parent 7654da1d8b
commit e2baf7372c

View file

@ -37,7 +37,12 @@ enum Coin {
firoTestNet, 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 { extension CoinExt on Coin {
String get prettyName { String get prettyName {