Skip to content

Conversation

@aggarwalpulkit596
Copy link
Contributor

Fixes #1596

Changes: Default INR currency in case of no currency passed


currency = Currency.getInstance(event.paymentCurrency).symbol
event.paymentCurrency.let {
currency = Currency.getInstance(it ?: "INR").symbol
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

USD

@aggarwalpulkit596
Copy link
Contributor Author

@iamareebjamal updated

Copy link
Member

@iamareebjamal iamareebjamal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currency = Currency.getInstance(event.paymentCurrency ?: "USD").symbol

@aggarwalpulkit596
Copy link
Contributor Author

@iamareebjamal updated

@iamareebjamal iamareebjamal merged commit 7425a93 into fossasia:development Apr 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash when no payment currency passed

2 participants