mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-23 06:08:52 +01:00
Fix visibility of menu items
This commit is contained in:
@@ -89,9 +89,9 @@ class ComposeViewModel(intent: Intent) : QkViewModel<ComposeView, ComposeState>(
|
|||||||
private val conversation: Observable<Conversation>
|
private val conversation: Observable<Conversation>
|
||||||
private val messages: Observable<List<Message>>
|
private val messages: Observable<List<Message>>
|
||||||
|
|
||||||
val menuCopy by lazy { MenuItem(context.getString(R.string.compose_menu_copy), 0) }
|
private val menuCopy by lazy { MenuItem(context.getString(R.string.compose_menu_copy), 0) }
|
||||||
val menuForward by lazy { MenuItem(context.getString(R.string.compose_menu_forward), 1) }
|
private val menuForward by lazy { MenuItem(context.getString(R.string.compose_menu_forward), 1) }
|
||||||
val menuDelete by lazy { MenuItem(context.getString(R.string.compose_menu_delete), 2) }
|
private val menuDelete by lazy { MenuItem(context.getString(R.string.compose_menu_delete), 2) }
|
||||||
|
|
||||||
init {
|
init {
|
||||||
appComponent.inject(this)
|
appComponent.inject(this)
|
||||||
|
|||||||
Reference in New Issue
Block a user