Made keyword management free

This commit is contained in:
M66B 2021-08-31 08:40:55 +02:00
parent 5e3a35de52
commit 74c7285f81
4 changed files with 0 additions and 10 deletions

View File

@ -100,7 +100,6 @@ All pro features are convenience or advanced features.
* Filter rules ([instructions](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq71))
* Automatic message classification ([instructions](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq163))
* Search indexing, search on server ([instructions](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq13))
* Keyword management
* S/MIME sign/encrypt ([instructions](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq12))
* Biometric/PIN authentication ([instructions](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq113))
* Message list widget

View File

@ -54,7 +54,6 @@ public class AdapterKeyword extends RecyclerView.Adapter<AdapterKeyword.ViewHold
private LifecycleOwner owner;
private LayoutInflater inflater;
private SharedPreferences prefs;
private boolean pro;
private long id;
private List<TupleKeyword> all = new ArrayList<>();
@ -99,9 +98,7 @@ public class AdapterKeyword extends RecyclerView.Adapter<AdapterKeyword.ViewHold
private void bindTo(TupleKeyword keyword) {
cbKeyword.setText(getTitle(keyword.name));
cbKeyword.setChecked(keyword.selected);
cbKeyword.setEnabled(pro);
btnColor.setColor(keyword.color);
btnColor.setEnabled(pro);
grpNotEdit.setVisibility(View.VISIBLE);
grpEdit.setVisibility(View.GONE);
}
@ -242,7 +239,6 @@ public class AdapterKeyword extends RecyclerView.Adapter<AdapterKeyword.ViewHold
this.owner = owner;
this.inflater = LayoutInflater.from(context);
this.prefs = PreferenceManager.getDefaultSharedPreferences(context);
this.pro = ActivityBilling.isPro(context);
setHasStableIds(false);
}

View File

@ -7007,7 +7007,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
final View dview = LayoutInflater.from(getContext()).inflate(R.layout.dialog_keyword_manage, null);
final RecyclerView rvKeyword = dview.findViewById(R.id.rvKeyword);
final TextView tvPro = dview.findViewById(R.id.tvPro);
final FloatingActionButton fabAdd = dview.findViewById(R.id.fabAdd);
final ContentLoadingProgressBar pbWait = dview.findViewById(R.id.pbWait);
@ -7018,9 +7017,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
final AdapterKeyword adapter = new AdapterKeyword(getContext(), getViewLifecycleOwner());
rvKeyword.setAdapter(adapter);
Helper.linkPro(tvPro);
fabAdd.setEnabled(ActivityBilling.isPro(getContext()));
fabAdd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

View File

@ -83,7 +83,6 @@ All pro features are convenience or advanced features.
* Filter rules
* Automatic message classification
* Search indexing, search on server
* Keyword management
* S/MIME sign/encrypt
* Biometric/PIN authentication
* Message list widget