fix / code quality

This commit is contained in:
Valere 2019-05-09 09:15:30 +02:00
parent 8fd15f4082
commit 64216f74ae
2 changed files with 6 additions and 3 deletions

View File

@ -68,7 +68,11 @@ class MessageMenuViewModel(initialState: MessageMenuState) : VectorViewModel<Mes
} }
if (canShare(type)) { if (canShare(type)) {
if (messageContent is MessageImageContent) { 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 //TODO
} }

View File

@ -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_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_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="autodiscover_well_known_autofill_confirm">Use Config</string>

<string name="reactions_agree">Agree</string> <string name="reactions_agree">Agree</string>
<string name="reactions_like">Like</string> <string name="reactions_like">Like</string>
<string name="message_add_reaction">Add Reaction</string> <string name="message_add_reaction">Add Reaction</string>