1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-1615 Main | Widgets | Change the sources descriptions (#280)

This commit is contained in:
Mikhail 2023-08-14 12:37:10 +03:00 committed by Mikhail Iudin
parent 9d12987a9f
commit 3ae86e0c65
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
2 changed files with 5 additions and 5 deletions

View file

@ -143,7 +143,7 @@ class BundledWidgetSourceHolder(
BundledWidgetSourceView.Favorites -> {
with(binding) {
tvTitle.setText(R.string.favorites)
tvSubtitle.setText(R.string.your_favorite_objects)
tvSubtitle.text = ""
ivIcon.setIcon(ObjectIcon.Basic.Emoji("⭐️"))
}
}
@ -158,7 +158,7 @@ class BundledWidgetSourceHolder(
BundledWidgetSourceView.RecentLocal -> {
with(binding) {
tvTitle.setText(R.string.recently_opened)
tvSubtitle.setText(R.string.recently_opened_objects)
tvSubtitle.setText(R.string.on_this_device)
ivIcon.setIcon(ObjectIcon.Basic.Emoji("📅"))
}
}
@ -166,14 +166,14 @@ class BundledWidgetSourceHolder(
BundledWidgetSourceView.Sets -> {
with(binding) {
tvTitle.setText(R.string.sets)
tvSubtitle.setText(R.string.sets_of_objects)
tvSubtitle.text = ""
ivIcon.setIcon(ObjectIcon.Basic.Emoji("📚"))
}
}
BundledWidgetSourceView.Collections -> {
with(binding) {
tvTitle.setText(R.string.collections)
tvSubtitle.setText(R.string.collection_widget_description)
tvSubtitle.text = ""
ivIcon.setIcon(ObjectIcon.Basic.Emoji("📂"))
}
}

View file

@ -611,7 +611,7 @@
<string name="object_search_recently_opened_section_title">Recently opened</string>
<string name="widget_source_anytype_library">Anytype Library</string>
<string name="your_favorite_objects">Your favorite objects</string>
<string name="recently_opened_objects">Recently opened objects</string>
<string name="on_this_device">On this device</string>
<string name="sets_of_objects">Sets of objects from your workspace</string>
<string name="content_description_customize_view_button">Customize-view button</string>