remove 'send indicate' setting and default to true
This commit is contained in:
parent
b320dea4d9
commit
7cc2478f5c
|
@ -2267,7 +2267,6 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
|
|||
|
||||
public void updateSendButton() {
|
||||
boolean hasAttachments = mediaPreviewAdapter != null && mediaPreviewAdapter.hasAttachments();
|
||||
boolean useSendButtonToIndicateStatus = activity != null && PreferenceManager.getDefaultSharedPreferences(activity).getBoolean("send_button_status", getResources().getBoolean(R.bool.send_button_status));
|
||||
final Conversation c = this.conversation;
|
||||
final Presence.Status status;
|
||||
final String text = this.binding.textinput == null ? "" : this.binding.textinput.getText().toString();
|
||||
|
@ -2277,7 +2276,7 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
|
|||
} else {
|
||||
action = SendButtonTool.getAction(getActivity(), c, text);
|
||||
}
|
||||
if (useSendButtonToIndicateStatus && c.getAccount().getStatus() == Account.State.ONLINE) {
|
||||
if (c.getAccount().getStatus() == Account.State.ONLINE) {
|
||||
if (activity != null && activity.xmppConnectionService != null && activity.xmppConnectionService.getMessageArchiveService().isCatchingUp(c)) {
|
||||
status = Presence.Status.OFFLINE;
|
||||
} else if (c.getMode() == Conversation.MODE_SINGLE) {
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
<string name="picture_compression">auto</string>
|
||||
<string name="theme">light</string>
|
||||
<bool name="use_green_background">true</bool>
|
||||
<bool name="send_button_status">false</bool>
|
||||
<string name="quick_action">recent</string>
|
||||
<bool name="show_dynamic_tags">false</bool>
|
||||
<bool name="btbv">true</bool>
|
||||
|
|
|
@ -281,8 +281,6 @@
|
|||
<string name="title_pref_quiet_hours_end_time">End time</string>
|
||||
<string name="title_pref_enable_quiet_hours">Enable quiet hours</string>
|
||||
<string name="pref_quiet_hours_summary">Notifications will be silenced during quiet hours</string>
|
||||
<string name="pref_use_send_button_to_indicate_status">Send button indicates status</string>
|
||||
<string name="pref_use_send_button_to_indicate_status_summary">Colorize send button to indicate contact status</string>
|
||||
<string name="pref_expert_options_other">Other</string>
|
||||
<string name="pref_autojoin">Synchronize with bookmarks</string>
|
||||
<string name="pref_autojoin_summary">Join and leave group chats according to auto-join flag in your bookmarks.</string>
|
||||
|
|
|
@ -156,11 +156,6 @@
|
|||
android:key="use_green_background"
|
||||
android:summary="@string/pref_use_green_background_summary"
|
||||
android:title="@string/pref_use_green_background" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="@bool/send_button_status"
|
||||
android:key="send_button_status"
|
||||
android:summary="@string/pref_use_send_button_to_indicate_status_summary"
|
||||
android:title="@string/pref_use_send_button_to_indicate_status" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="@bool/show_dynamic_tags"
|
||||
android:key="show_dynamic_tags"
|
||||
|
|
Loading…
Reference in a new issue