mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-02-02 09:46:51 +01:00
removed unused function
This commit is contained in:
parent
e655889b98
commit
16d1c01ac4
@ -21,10 +21,7 @@ package org.mariotaku.twidere.util
|
||||
|
||||
import android.content.ContentValues
|
||||
import org.mariotaku.ktextension.mapToArray
|
||||
import org.mariotaku.library.objectcursor.ObjectCursor
|
||||
import org.mariotaku.microblog.library.twitter.model.SavedSearch
|
||||
import org.mariotaku.microblog.library.twitter.model.Status
|
||||
import org.mariotaku.twidere.extension.model.api.toParcelable
|
||||
import org.mariotaku.twidere.model.ParcelableStatus
|
||||
import org.mariotaku.twidere.model.ParcelableUser
|
||||
import org.mariotaku.twidere.model.ParcelableUserMention
|
||||
@ -72,10 +69,4 @@ object ContentValuesCreator {
|
||||
return savedSearches.mapToArray { createSavedSearch(it, accountKey) }
|
||||
}
|
||||
|
||||
fun createStatus(orig: Status, accountKey: UserKey, accountType: String,
|
||||
profileImageSize: String): ContentValues {
|
||||
return ObjectCursor.valuesCreatorFrom(ParcelableStatus::class.java)
|
||||
.create(orig.toParcelable(accountKey, accountType, profileImageSize))
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user