mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-29 15:09:23 +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;
|
||
|
}
|
||
|
}
|