mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 20:19:25 +00:00
24 lines
559 B
Dart
24 lines
559 B
Dart
import 'package:cake_wallet/generated/i18n.dart';
|
|
|
|
enum ReceivePageOption {
|
|
mainnet,
|
|
anonPayInvoice,
|
|
anonPayDonationLink;
|
|
|
|
@override
|
|
String toString() {
|
|
String label = '';
|
|
switch (this) {
|
|
case ReceivePageOption.mainnet:
|
|
label = S.current.mainnet;
|
|
break;
|
|
case ReceivePageOption.anonPayInvoice:
|
|
label = S.current.trocador_anonpay_invoice;
|
|
break;
|
|
case ReceivePageOption.anonPayDonationLink:
|
|
label = S.current.trocador_anonpay_donation_link;
|
|
break;
|
|
}
|
|
return label;
|
|
}
|
|
}
|