diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-10-08 18:24:20 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-10-08 18:24:20 +0200 |
commit | 74087b873fc5a2952f56125a791129f8feb443e5 (patch) | |
tree | fa8f6cbadac6251874d51be256df4efd3827f0cf /src/main/java/eu/siacs/conversations/ui/WelcomeActivity.java | |
parent | f3ef8d497875d472a7b96bed0c14086b71ecfa7b (diff) |
added disclaimer that conversations.im account is 8 euro / year
Diffstat (limited to 'src/main/java/eu/siacs/conversations/ui/WelcomeActivity.java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/WelcomeActivity.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/WelcomeActivity.java b/src/main/java/eu/siacs/conversations/ui/WelcomeActivity.java index 3c837b94..59d58db5 100644 --- a/src/main/java/eu/siacs/conversations/ui/WelcomeActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/WelcomeActivity.java @@ -1,5 +1,6 @@ package eu.siacs.conversations.ui; +import android.app.ActionBar; import android.app.Activity; import android.content.Intent; import android.content.pm.ActivityInfo; @@ -16,6 +17,11 @@ public class WelcomeActivity extends Activity { if (getResources().getBoolean(R.bool.portrait_only)) { setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); } + final ActionBar ab = getActionBar(); + if (ab != null) { + ab.setDisplayShowHomeEnabled(false); + ab.setDisplayHomeAsUpEnabled(false); + } super.onCreate(savedInstanceState); setContentView(R.layout.welcome); final Button createAccount = (Button) findViewById(R.id.create_account); |