Skip to content

Commit

Permalink
suppress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sal0max committed Jan 11, 2022
1 parent 0431c3a commit 5bb6508
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class TimelineViewModel(
private val symbol: String
) :
ViewModelProvider.Factory {
@Suppress("UNCHECKED_CAST")
override fun <T : ViewModel?> create(modelClass: Class<T>): T {
return TimelineViewModel(mApplication, base, symbol) as T
}
Expand Down

0 comments on commit 5bb6508

Please sign in to comment.