mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
Set random emoji when creating a new page (#605)
This commit is contained in:
parent
ab417e6182
commit
670af5cdec
19 changed files with 187 additions and 22 deletions
|
@ -0,0 +1,24 @@
|
|||
package com.agileburo.anytype.emojifier.data
|
||||
|
||||
import com.agileburo.anytype.domain.icon.DocumentEmojiIconProvider
|
||||
|
||||
class DefaultDocumentEmojiIconProvider : DocumentEmojiIconProvider {
|
||||
|
||||
companion object {
|
||||
val DOCUMENT_SET = listOf(
|
||||
"🌳", "⛳", "🧬", "🎈", "🎓",
|
||||
"💡", "🎒", "🚀", "🤖", "📚",
|
||||
"🍎", "🏡", "🤝", "😍", "☕",
|
||||
"🔥", "💥", "✍", "⏳", "📌",
|
||||
"🚩", "🦉", "📮", "📄", "🖌",
|
||||
"🗳", "⏰", "🔑", "🎉", "🗃",
|
||||
"🔖", "🧠", "👁", "🎗", "🎲",
|
||||
"🧩", "🚲", "⚙", "🔶", "🌍",
|
||||
"🏕", "🧳", "🌵", "🚗", "🚂",
|
||||
"🖼", "⭐", "🥁", "🚠", "🛫",
|
||||
"🏔", "🏗", "🛠", "🔍", "🕹"
|
||||
)
|
||||
}
|
||||
|
||||
override fun random(): String = DOCUMENT_SET.random()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue