File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
java/com/wmods/wppenhacer/ui/fragments Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,12 @@ private void checkStateWpp(FragmentActivity activity) {
254254 binding .deviceName .setText (Build .MANUFACTURER );
255255 binding .sdk .setText (String .valueOf (Build .VERSION .SDK_INT ));
256256 binding .modelName .setText (Build .DEVICE );
257- binding .listWpp .setText (Arrays .toString (activity .getResources ().getStringArray (R .array .supported_versions_wpp )));
257+ if (App .isOriginalPackage ()) {
258+ binding .listWpp .setText (Arrays .toString (activity .getResources ().getStringArray (R .array .supported_versions_wpp )));
259+ } else {
260+ binding .listWppTitle .setVisibility (View .GONE );
261+ binding .listWpp .setVisibility (View .GONE );
262+ }
258263 binding .listBusiness .setText (Arrays .toString (activity .getResources ().getStringArray (R .array .supported_versions_business )));
259264 }
260265
Original file line number Diff line number Diff line change 319319 android : text =" " />
320320
321321 <com .google.android.material.textview.MaterialTextView
322+ android : id =" @+id/list_wpp_title"
322323 style =" @style/DeviceInfoDialogLabel"
323324 android : layout_width =" match_parent"
324325 android : layout_height =" wrap_content"
You can’t perform that action at this time.
0 commit comments