expand the ternary for readability

This commit is contained in:
sneurlax 2022-11-22 11:56:13 -06:00 committed by julian
parent c3a3dd3180
commit 3306cf8b99

View file

@ -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 {