Skip to content

Commit

Permalink
Fix scope UI bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MlgmXyysd committed Feb 5, 2021
1 parent 2a70dab commit 5e53625
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
minSdkVersion 24
//noinspection OldTargetApi
targetSdkVersion 27
versionCode 46100
versionName "4.6.1"
versionCode 46200
versionName "4.6.2"
}

applicationVariants.all { variant ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import android.os.AsyncTask;
import android.os.Build;
import android.text.TextUtils;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
Expand Down Expand Up @@ -46,7 +45,6 @@
import java.util.Locale;

import static org.meowcat.edxposed.manager.BaseFragment.areYouSure;
import static org.meowcat.edxposed.manager.MeowCatApplication.TAG;
import static org.meowcat.edxposed.manager.adapter.ActivationScopeAdapter.getRecommendedScopeList;

public class AppAdapter extends RecyclerView.Adapter<AppAdapter.ViewHolder> implements Filterable {
Expand Down Expand Up @@ -439,6 +437,8 @@ public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
if (this instanceof ActivationScopeAdapter) {
if (getRecommendedScopeList().contains(info.packageName)) {
holder.appScopeTip.setVisibility(View.VISIBLE);
} else {
holder.appScopeTip.setVisibility(View.GONE);
}
}
}
Expand Down

0 comments on commit 5e53625

Please sign in to comment.