mirror of https://github.com/M66B/FairEmail.git
Hide options menu in folders list
This commit is contained in:
parent
9e60b4eabd
commit
be8fb15ec0
|
@ -28,6 +28,7 @@ import android.support.design.widget.FloatingActionButton;
|
|||
import android.support.v7.widget.LinearLayoutManager;
|
||||
import android.support.v7.widget.RecyclerView;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.Menu;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ProgressBar;
|
||||
|
@ -47,6 +48,7 @@ public class FragmentFolders extends FragmentEx {
|
|||
@Nullable
|
||||
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
|
||||
setSubtitle(R.string.title_list_folders);
|
||||
setHasOptionsMenu(true);
|
||||
|
||||
View view = inflater.inflate(R.layout.fragment_folders, container, false);
|
||||
|
||||
|
@ -92,4 +94,9 @@ public class FragmentFolders extends FragmentEx {
|
|||
|
||||
return view;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPrepareOptionsMenu(Menu menu) {
|
||||
menu.clear();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue