changed default setting for enter_is_send on devices with keyboard
This commit is contained in:
parent
c740386297
commit
8cce653a1f
|
@ -1774,7 +1774,7 @@ public class ConversationActivity extends XmppActivity
|
|||
}
|
||||
|
||||
public boolean enterIsSend() {
|
||||
return getPreferences().getBoolean("enter_is_send",false);
|
||||
return getPreferences().getBoolean("enter_is_send",getResources().getBoolean(R.bool.enter_is_send));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="enter_is_send">true</bool>
|
||||
</resources>
|
|
@ -2,4 +2,5 @@
|
|||
<resources>
|
||||
<string name="default_resource">Phone</string>
|
||||
<bool name="portrait_only">true</bool>
|
||||
<bool name="enter_is_send">false</bool>
|
||||
</resources>
|
|
@ -220,7 +220,7 @@
|
|||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="@string/pref_input_options">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:defaultValue="@bool/enter_is_send"
|
||||
android:key="enter_is_send"
|
||||
android:summary="@string/pref_enter_is_send_summary"
|
||||
android:title="@string/pref_enter_is_send"/>
|
||||
|
|
Loading…
Reference in New Issue