Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 09fdd54

Browse files
committed
Invalidate options menu when changing between files
1 parent 7649327 commit 09fdd54

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

app/src/main/java/com/itsaky/androidide/EditorActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ public void onTabSelected(@NonNull TabLayout.Tab tab) {
517517
editorView.onEditorSelected();
518518
mViewModel.setCurrentFile(position, editorView.getFile());
519519
refreshSymbolInput(editorView);
520+
invalidateOptionsMenu();
520521
}
521522

522523
@Override
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)