mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-23 06:07:16 +00:00
[#36] Small refactorign proposed by @negue
This commit is contained in:
parent
29a8d965a9
commit
6090995d28
1 changed files with 1 additions and 2 deletions
|
|
@ -480,9 +480,8 @@ public class HabitItemRecyclerViewAdapter<THabitItem extends Task>
|
|||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
final BuyRewardTappedEvent event = new BuyRewardTappedEvent();
|
||||
|
||||
if (v == binding.btnReward || v == binding.imageView3 || v == binding.gearElementsLayout) {
|
||||
BuyRewardTappedEvent event = new BuyRewardTappedEvent();
|
||||
LinearLayout contentViewForDialog = createContentViewForDialog();
|
||||
|
||||
MaterialDialog dialog = createGearDialog(event, contentViewForDialog);
|
||||
|
|
|
|||
Loading…
Reference in a new issue