|
|
|
@ -100,6 +100,7 @@ class DataListFragment : PokerAnalyticsFragment(), LiveRowRepresentableDataSourc |
|
|
|
|
|
|
|
|
|
|
|
if (mRecentlyDeletedItem is RealmObject) { |
|
|
|
if (mRecentlyDeletedItem is RealmObject) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Check if the object is valid for the deletion |
|
|
|
if ((mRecentlyDeletedItem as Manageable).isValidForDelete()) { |
|
|
|
if ((mRecentlyDeletedItem as Manageable).isValidForDelete()) { |
|
|
|
deletedItem = getRealm().copyFromRealm(mRecentlyDeletedItem) |
|
|
|
deletedItem = getRealm().copyFromRealm(mRecentlyDeletedItem) |
|
|
|
getRealm().executeTransaction { |
|
|
|
getRealm().executeTransaction { |
|
|
|
|