Skip to content

Commit

Permalink
Removes explicit type arguments from the parcelableCreator() call
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonis Lilis committed Dec 8, 2023
1 parent 3d55ca2 commit 4ce7666
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class HistoryDetailFragment : Fragment() {
super.onCreate(savedInstanceState)

mRevision = if (getDatabase(WordPress.getContext())?.hasParcel(KEY_REVISION) == true) {
getDatabase(WordPress.getContext())?.getParcel(KEY_REVISION, parcelableCreator<Revision>())
getDatabase(WordPress.getContext())?.getParcel(KEY_REVISION, parcelableCreator())
} else {
getDatabase(WordPress.getContext())?.getParcel(EXTRA_REVISION, parcelableCreator<Revision>())
getDatabase(WordPress.getContext())?.getParcel(EXTRA_REVISION, parcelableCreator())
}
}

Expand Down

0 comments on commit 4ce7666

Please sign in to comment.