mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 10:55:55 +03:00
fix / code quality
This commit is contained in:
parent
8fd15f4082
commit
64216f74ae
2 changed files with 6 additions and 3 deletions
|
@ -68,7 +68,11 @@ class MessageMenuViewModel(initialState: MessageMenuState) : VectorViewModel<Mes
|
|||
}
|
||||
if (canShare(type)) {
|
||||
if (messageContent is MessageImageContent) {
|
||||
this.add(SimpleAction(ACTION_SHARE, R.string.share, R.drawable.ic_share, currentSession.contentUrlResolver().resolveFullSize(messageContent.url)))
|
||||
this.add(
|
||||
SimpleAction(ACTION_SHARE,
|
||||
R.string.share, R.drawable.ic_share,
|
||||
currentSession.contentUrlResolver().resolveFullSize(messageContent.url))
|
||||
)
|
||||
}
|
||||
//TODO
|
||||
}
|
||||
|
|
|
@ -1401,8 +1401,7 @@ Why choose Riot.im?
|
|||
<string name="autodiscover_well_known_autofill_dialog_title">"Autocomplete Server Options</string>
|
||||
<string name="autodiscover_well_known_autofill_dialog_message">Riot detected a custom server configuration for your userId domain \"%s\":\n%s</string>
|
||||
<string name="autodiscover_well_known_autofill_confirm">Use Config</string>
|
||||
|
||||
|
||||
|
||||
<string name="reactions_agree">Agree</string>
|
||||
<string name="reactions_like">Like</string>
|
||||
<string name="message_add_reaction">Add Reaction</string>
|
||||
|
|
Loading…
Reference in a new issue