mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
3006679560
* Change receive screen ui * Upgrade flutter packages * revert Upgrade flutter packages * revert Upgrade flutter packages * Adjust flow for anon invoice page navigation * Add receive screen ui * Implement anonpay invoice * Add invoice detail to transactions page * Implement donation link * Fix transaction filter and details view * Save donation link * Fix transaction display issues * Fix formatting * Fix merge conflict * Fix localization * Fix transaction amount display * Fix transaction limit for fiat * Update fix from code review * Fix issues from code review * Make amountTo nullable to avoid potential * Remove encoding for description in donation link * Remove optional params from request * Fix QR image version * Refactor QRCode, fix issues from code review * Pass version to QRCode full page --------- Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
23 lines
485 B
Dart
23 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;
|
|
}
|
|
}
|