File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
app/src/main/java/com/wmods/wppenhacer/xposed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1816,7 +1816,7 @@ public static Method loadMediaQualitySelectionMethod(ClassLoader classLoader) th
18161816
18171817 if (methodData .isEmpty ())
18181818 throw new RuntimeException ("MediaQualitySelection method not found" );
1819- return methodData .single ( ).getMethodInstance (classLoader );
1819+ return methodData .get ( 0 ).getMethodInstance (classLoader );
18201820 });
18211821 }
18221822
Original file line number Diff line number Diff line change 99import android .view .View ;
1010import android .view .ViewGroup ;
1111import android .widget .LinearLayout ;
12+ import android .widget .RelativeLayout ;
1213import android .widget .TextView ;
1314
1415import androidx .annotation .NonNull ;
@@ -164,7 +165,11 @@ public void onMultiClick(View v) {
164165 mTitle .setGravity (Gravity .CENTER );
165166 }
166167 parent .removeView (logo );
167- window .addView (logo );
168+ RelativeLayout hideLayout = new RelativeLayout (homeActivity );
169+ hideLayout .setLayoutParams (new LinearLayout .LayoutParams (2 , 2 ));
170+ hideLayout .setVisibility (View .GONE );
171+ window .addView (hideLayout );
172+ hideLayout .addView (logo );
168173
169174 XposedBridge .hookMethod (onMenuItemSelected , new XC_MethodHook () {
170175 @ Override
You can’t perform that action at this time.
0 commit comments