Use proper text color for date

This commit is contained in:
Naveen 2022-10-06 01:00:47 +05:30
parent e60f5c7491
commit c2320be6c1
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,6 @@ import com.simplemobiletools.smsmessenger.R
import com.simplemobiletools.smsmessenger.activities.SimpleActivity
import com.simplemobiletools.smsmessenger.models.SearchResult
import kotlinx.android.synthetic.main.item_search_result.view.*
import java.util.*
class SearchResultsAdapter(
activity: SimpleActivity, var searchResults: ArrayList<SearchResult>, recyclerView: MyRecyclerView, highlightText: String, itemClick: (Any) -> Unit
@ -80,6 +79,7 @@ class SearchResultsAdapter(
search_result_date.apply {
text = searchResult.date
setTextColor(textColor)
setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize * 0.8f)
}