Fix using unowned mounts

This commit is contained in:
Phillip Thelen 2019-08-06 15:14:36 +02:00
parent c303056ce4
commit 2e7f26adbb

View file

@ -89,7 +89,7 @@ class MountDetailRecyclerAdapter(data: OrderedRealmCollection<Mount>?, autoUpdat
}
override fun onClick(v: View) {
if (ownedMount?.owned == false) {
if (ownedMount?.owned != true) {
return
}
val menu = BottomSheetMenu(itemView.context)