mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 01:39:18 +02:00
play 'plop' sound on send button click
This commit is contained in:
parent
8dd8a1d771
commit
ada024f614
2 changed files with 2 additions and 1 deletions
|
@ -1426,6 +1426,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||
}
|
||||
else {
|
||||
processComposeControls(ACTION_SEND_OUT);
|
||||
MessageNotifier.playSendSound();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ public class MessageNotifier {
|
|||
return;
|
||||
}
|
||||
|
||||
if (Prefs.isInChatNotifications(instance.context)) {
|
||||
if (Prefs.isInChatNotifications(instance.context) && instance.soundOutLoaded) {
|
||||
instance.soundPool.play(instance.soundIn, 1.0f, 1.0f, 1, 0, 1.0f);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue