Przed Szerokość: | Wysokość: | Rozmiar: 407 B |
Przed Szerokość: | Wysokość: | Rozmiar: 394 B |
Przed Szerokość: | Wysokość: | Rozmiar: 321 B |
Przed Szerokość: | Wysokość: | Rozmiar: 301 B |
Przed Szerokość: | Wysokość: | Rozmiar: 588 B |
Przed Szerokość: | Wysokość: | Rozmiar: 569 B |
Przed Szerokość: | Wysokość: | Rozmiar: 813 B |
Przed Szerokość: | Wysokość: | Rozmiar: 837 B |
|
@ -32,7 +32,6 @@
|
|||
<attr name="conversation_transport_popup_background" format="reference"/>
|
||||
<attr name="conversation_emoji_toggle" format="reference"/>
|
||||
<attr name="conversation_keyboard_toggle" format="reference"/>
|
||||
<attr name="conversation_attach_file" format="reference"/>
|
||||
<attr name="conversation_attach_image" format="reference"/>
|
||||
<attr name="conversation_attach_video" format="reference"/>
|
||||
<attr name="conversation_attach_sound" format="reference"/>
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
<item name="conversation_transport_popup_background">@color/white</item>
|
||||
<item name="conversation_emoji_toggle">@drawable/ic_mood_grey600_24dp</item>
|
||||
<item name="conversation_keyboard_toggle">@drawable/ic_keyboard_grey600_24dp</item>
|
||||
<item name="conversation_attach_file">@drawable/ic_attach_file_light</item>
|
||||
<item name="conversation_attach_image">@drawable/ic_image_light</item>
|
||||
<item name="conversation_attach_video">@drawable/ic_movie_creation_light</item>
|
||||
<item name="conversation_attach_sound">@drawable/ic_volume_up_light</item>
|
||||
|
@ -185,7 +184,6 @@
|
|||
<item name="conversation_transport_popup_background">@color/black</item>
|
||||
<item name="conversation_emoji_toggle">@drawable/ic_mood_white_24dp</item>
|
||||
<item name="conversation_keyboard_toggle">@drawable/ic_keyboard_white_24dp</item>
|
||||
<item name="conversation_attach_file">@drawable/ic_attach_file_dark</item>
|
||||
<item name="conversation_attach_image">@drawable/ic_image_dark</item>
|
||||
<item name="conversation_attach_video">@drawable/ic_movie_creation_dark</item>
|
||||
<item name="conversation_attach_sound">@drawable/ic_volume_up_dark</item>
|
||||
|
|
|
@ -533,11 +533,8 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||
|
||||
private void handleAddAttachment() {
|
||||
if (this.isMmsEnabled || DirectoryHelper.isPushDestination(this, getRecipients())) {
|
||||
AlertDialogWrapper.Builder builder = new AlertDialogWrapper.Builder(this);
|
||||
builder.setIconAttribute(R.attr.conversation_attach_file);
|
||||
builder.setTitle(R.string.ConversationActivity_add_attachment);
|
||||
builder.setAdapter(attachmentAdapter, new AttachmentTypeListener());
|
||||
builder.show();
|
||||
new AlertDialogWrapper.Builder(this).setAdapter(attachmentAdapter, new AttachmentTypeListener())
|
||||
.show();
|
||||
} else {
|
||||
handleManualMmsRequired();
|
||||
}
|
||||
|
|