pull/194/merge
M66B 3 years ago
parent 3183535c99
commit 691eb2c9ff

@ -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…
Cancel
Save