Skip to content

Commit

Permalink
Fix: update click listener for donorHistoryUpdate button
Browse files Browse the repository at this point in the history
  • Loading branch information
cooltey committed Nov 14, 2024
1 parent fea9a84 commit ad5dceb
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -410,14 +410,15 @@ class SuggestedEditsTasksFragment : Fragment() {
}

DonorStatus.UNKNOWN -> {
binding.donorHistoryUpdateButton.setOnClickListener {
requestUpdateDonorHistory.launch(DonorHistoryActivity.newIntent(requireContext()))
}
binding.donorHistoryStatus.isVisible = false
binding.lastDonatedChevron.isVisible = false
binding.donorHistoryUpdateButton.isVisible = true
}
}

binding.donorHistoryUpdateButton.setOnClickListener {
requestUpdateDonorHistory.launch(DonorHistoryActivity.newIntent(requireContext()))
}
}

private fun setUpTasks() {
Expand Down

0 comments on commit ad5dceb

Please sign in to comment.