Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0baa7bfc authored by Steve McKay's avatar Steve McKay Committed by Android (Google) Code Review
Browse files

Merge "Only show OPEN button as needed." into nyc-dev

parents 6f4047fe b1a7f542
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -154,7 +154,8 @@ public abstract class FragmentTuner {
            MenuItem rename = menu.findItem(R.id.menu_rename);
            MenuItem selectAll = menu.findItem(R.id.menu_select_all);

            open.setVisible(true);
            open.setVisible(mState.action == ACTION_GET_CONTENT ||
                    mState.action == ACTION_OPEN);
            share.setVisible(false);
            delete.setVisible(false);
            rename.setVisible(false);