mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-21 13:25:03 +00:00
[#36] Open dialog only using the button
This commit is contained in:
parent
d0e0094a86
commit
b284a9a236
1 changed files with 1 additions and 2 deletions
|
|
@ -496,12 +496,11 @@ public class HabitItemRecyclerViewAdapter<THabitItem extends Task>
|
|||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if (v == binding.btnReward || v == binding.imageView3 || v == binding.gearElementsLayout) {
|
||||
if (v == binding.btnReward) {
|
||||
LinearLayout contentViewForDialog = createContentViewForDialog();
|
||||
|
||||
MaterialDialog dialog = createGearDialog(contentViewForDialog);
|
||||
dialog.show();
|
||||
|
||||
} else super.onClick(v);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue