mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-10 10:00:44 +09:00
Dashboard | Fix | Note objects title (#1908)
This commit is contained in:
parent
e422b9a99e
commit
21a5a874eb
3 changed files with 1 additions and 4 deletions
|
@ -210,7 +210,7 @@ class DashboardAdapter(
|
|||
}
|
||||
is ViewHolder.DocumentNoteViewHolder -> {
|
||||
val item = data[position] as DashboardView.Document
|
||||
holder.bindTitle(item.snippet)
|
||||
holder.bindTitle(item.title)
|
||||
holder.bindSubtitle(item.typeName)
|
||||
holder.bindLoading(item.isLoading)
|
||||
}
|
||||
|
|
|
@ -31,7 +31,6 @@ sealed class DashboardView {
|
|||
val typeName: String? = null,
|
||||
val type: String? = null,
|
||||
val done: Boolean? = null,
|
||||
val snippet: String? = null,
|
||||
override val isArchived: Boolean,
|
||||
override val isSelected: Boolean = false,
|
||||
override val isLoading: Boolean = false,
|
||||
|
|
|
@ -466,7 +466,6 @@ class HomeDashboardViewModel(
|
|||
isLoading = false,
|
||||
emoji = obj.iconEmoji,
|
||||
image = obj.iconImage,
|
||||
snippet = obj.snippet,
|
||||
type = obj.type.firstOrNull(),
|
||||
typeName = oType?.name,
|
||||
layout = obj.layout,
|
||||
|
@ -519,7 +518,6 @@ class HomeDashboardViewModel(
|
|||
isLoading = false,
|
||||
emoji = obj.iconEmoji,
|
||||
image = obj.iconImage,
|
||||
snippet = obj.snippet,
|
||||
type = obj.type.firstOrNull(),
|
||||
typeName = oType?.name,
|
||||
layout = obj.layout,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue