File tree Expand file tree Collapse file tree
src/main/java/the/bytecode/club/bytecodeviewer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ public class Configuration
6060 //if true the plugin writer will open inside of a tab
6161 public static boolean pluginWriterAsNewTab = true ; //TODO add to GUI
6262
63+ //if true jadx will be above smali in an android grouping
64+ public static boolean jadxGroupedWithSmali = true ; //TODO add to GUI
65+
6366 public static boolean forceResourceUpdateFromClassNode = false ; //TODO add to GUI
6467 public static boolean showDarkLAFComponentIcons = false ;
6568 public static boolean currentlyDumping = false ;
Original file line number Diff line number Diff line change @@ -141,11 +141,14 @@ public void buildMenu()
141141 menu .add (new JSeparator ());
142142 menu .add (procyon .getMenu ());
143143 menu .add (CFR .getMenu ());
144- menu .add (JADX .getMenu ());
144+ if (!Configuration .jadxGroupedWithSmali )
145+ menu .add (JADX .getMenu ());
145146 menu .add (JD .getMenu ());
146147 menu .add (fern .getMenu ());
147148 menu .add (krakatau .getMenu ());
148149 menu .add (new JSeparator ());
150+ if (Configuration .jadxGroupedWithSmali )
151+ menu .add (JADX .getMenu ());
149152 menu .add (smali .getMenu ());
150153 menu .add (new JSeparator ());
151154 menu .add (bytecode .getMenu ());
You can’t perform that action at this time.
0 commit comments