diff options
author | Christian S <christian@pix-art.de> | 2016-04-30 22:37:24 +0200 |
---|---|---|
committer | Christian S <christian@pix-art.de> | 2016-04-30 22:37:24 +0200 |
commit | d06c7c9c23cc50811e22177fe49c00bae96a5a48 (patch) | |
tree | 22bb68637aa6914ed2f17777fdfc508c07aef1c1 /src/main | |
parent | 29e90eb24072a47cb4cc1ecd5c64f76a2a3cb28c (diff) |
set manually_change_presence to true as default
and hide option to set presence for all accounts
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/XmppActivity.java | 2 | ||||
-rw-r--r-- | src/main/res/layout/activity_set_presence.xml | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java index 899d45412..cf821eb08 100644 --- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java @@ -1008,7 +1008,7 @@ public abstract class XmppActivity extends Activity { } protected boolean manuallyChangePresence() { - return getPreferences().getBoolean("manually_change_presence", false); + return getPreferences().getBoolean("manually_change_presence", true); } protected void unregisterNdefPushMessageCallback() { diff --git a/src/main/res/layout/activity_set_presence.xml b/src/main/res/layout/activity_set_presence.xml index 8195092ff..eaae53bb2 100644 --- a/src/main/res/layout/activity_set_presence.xml +++ b/src/main/res/layout/activity_set_presence.xml @@ -42,7 +42,8 @@ android:text="@string/all_accounts_on_this_device" android:id="@+id/all_accounts" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" + android:visibility="invisible"/> <Button android:id="@+id/change_presence" style="?android:attr/borderlessButtonStyle" |