Skip to content

Conversation

@anhanh11001
Copy link
Contributor

Details:

  • Hide discount code when there is no internet in TicketFragment
  • Fix extra in querystring orderApi
  • Fix crashes due to wrong way to handle retaining ticket number in TicketAdapter

Fixes: #2041

Details:
- Hide discount code when there is no internet in TicketFragment
- Fix extra in querystring orderApi
- Fix crashes due to wrong way to handle retaining ticket number in TicketAdapter

Fixes: #2041
@auto-label auto-label bot added the fix label Jul 2, 2019
private val mutableTicketTableVisibility = MutableLiveData<Boolean>()
val ticketTableVisibility: LiveData<Boolean> = mutableTicketTableVisibility
val ticketIdAndQty = MutableLiveData<List<Triple<Int, Int, Float>>>()
var discountCodeCurrentLayout = APPLY_DISCOUNT_CODE
Copy link
Member

Choose a reason for hiding this comment

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

Why is this var?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

to retain current discount code layout on screen rotation or coming back from AttendeeFragment

@iamareebjamal iamareebjamal merged commit 88609f9 into fossasia:development Jul 2, 2019
@anhanh11001 anhanh11001 deleted the 2041_tickets_crashes branch July 2, 2019 12:15
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.

App crashes in TicketsFragment - no internet

3 participants