mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 10:47:28 +00:00
Debug only
This commit is contained in:
parent
3183535c99
commit
691eb2c9ff
1 changed files with 1 additions and 1 deletions
|
@ -1166,7 +1166,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
|||
this.context = context;
|
||||
this.owner = owner;
|
||||
this.inflater = LayoutInflater.from(context);
|
||||
if (context instanceof FragmentActivity)
|
||||
if (context instanceof FragmentActivity && BuildConfig.DEBUG)
|
||||
this.selectedModel = new ViewModelProvider((FragmentActivity) context)
|
||||
.get(ViewModelSelected.class);
|
||||
|
||||
|
|
Loading…
Reference in a new issue