1
0
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:
Mariotaku Lee 2017-05-18 11:25:38 +08:00
parent e655889b98
commit 16d1c01ac4
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535

View File

@ -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))
}
}