mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 732104 - (Part 2) Remove the ability to tap a folder heading to go back. r=mfinkle
This commit is contained in:
parent
dd669712ae
commit
5319c9b2d9
@ -864,11 +864,9 @@ public class AwesomeBarTabs extends TabHost {
|
||||
}
|
||||
|
||||
private void handleBookmarkItemClick(int position) {
|
||||
// If we tap on the header view, go up a level
|
||||
if (position == 0) {
|
||||
mBookmarksAdapter.moveToParentFolder();
|
||||
// If we tap on the header view, there's nothing to do
|
||||
if (position == 0)
|
||||
return;
|
||||
}
|
||||
|
||||
Cursor cursor = mBookmarksAdapter.getCursor();
|
||||
// The header view takes up a spot in the list
|
||||
|
Loading…
Reference in New Issue
Block a user