mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 01:47:41 +00:00
24 lines
485 B
Dart
24 lines
485 B
Dart
|
|
||
|
enum ReceivePageOption {
|
||
|
mainnet,
|
||
|
anonPayInvoice,
|
||
|
anonPayDonationLink;
|
||
|
|
||
|
@override
|
||
|
String toString() {
|
||
|
String label = '';
|
||
|
switch (this) {
|
||
|
case ReceivePageOption.mainnet:
|
||
|
label = 'Mainnet';
|
||
|
break;
|
||
|
case ReceivePageOption.anonPayInvoice:
|
||
|
label = 'Trocador AnonPay Invoice';
|
||
|
break;
|
||
|
case ReceivePageOption.anonPayDonationLink:
|
||
|
label = 'Trocador AnonPay Donation Link';
|
||
|
break;
|
||
|
}
|
||
|
return label;
|
||
|
}
|
||
|
}
|