fix clicking on unread only footer behaving as a go offline entry
This commit is contained in:
parent
c30f85616e
commit
131f355ce9
@ -81,7 +81,7 @@ public abstract class BaseFeedlistFragment extends Fragment {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
text.setOnClickListener(new View.OnClickListener() {
|
footer.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
rowSwitch.setChecked(!rowSwitch.isChecked());
|
rowSwitch.setChecked(!rowSwitch.isChecked());
|
||||||
|
@ -381,7 +381,7 @@ public class FeedsFragment extends BaseFeedlistFragment implements OnItemClickLi
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (position == list.getCount() - 2) {
|
if (!m_enableParentBtn && position == list.getCount() - 2) {
|
||||||
m_activity.switchOffline();
|
m_activity.switchOffline();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -235,7 +235,7 @@ public class OfflineFeedsFragment extends BaseFeedlistFragment implements OnItem
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (position == list.getCount() - 2) {
|
if (!m_enableParentBtn && position == list.getCount() - 2) {
|
||||||
m_activity.switchOnline();
|
m_activity.switchOnline();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user