1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-30 19:56:10 +00:00

Debug only

This commit is contained in:
M66B 2022-01-12 14:40:14 +01:00
parent 3183535c99
commit 691eb2c9ff

View file

@ -1166,7 +1166,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
this.context = context; this.context = context;
this.owner = owner; this.owner = owner;
this.inflater = LayoutInflater.from(context); this.inflater = LayoutInflater.from(context);
if (context instanceof FragmentActivity) if (context instanceof FragmentActivity && BuildConfig.DEBUG)
this.selectedModel = new ViewModelProvider((FragmentActivity) context) this.selectedModel = new ViewModelProvider((FragmentActivity) context)
.get(ViewModelSelected.class); .get(ViewModelSelected.class);