From 51439dc2e59a5d8ff3ef8b68b32c5617f7ebec27 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Fri, 1 Jun 2018 21:36:08 +0200 Subject: rename useOwnProvider to useAdvancedMode in WelcomeActivity --- src/main/java/de/pixart/messenger/ui/WelcomeActivity.java | 4 ++-- src/main/res/layout/welcome.xml | 4 ++-- src/main/res/values-ceb/strings.xml | 2 +- src/main/res/values-de/strings.xml | 2 +- src/main/res/values-es/strings.xml | 2 +- src/main/res/values-fil/strings.xml | 2 +- src/main/res/values-id/strings.xml | 2 +- src/main/res/values-ro/strings.xml | 2 +- src/main/res/values-tr/strings.xml | 2 +- src/main/res/values/strings.xml | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/main') diff --git a/src/main/java/de/pixart/messenger/ui/WelcomeActivity.java b/src/main/java/de/pixart/messenger/ui/WelcomeActivity.java index 052abaf33..7906c7f40 100644 --- a/src/main/java/de/pixart/messenger/ui/WelcomeActivity.java +++ b/src/main/java/de/pixart/messenger/ui/WelcomeActivity.java @@ -109,8 +109,8 @@ public class WelcomeActivity extends XmppActivity { addInviteUri(intent); startActivity(intent); }); - final Button useOwnProvider = findViewById(R.id.use_existing_account); - useOwnProvider.setOnClickListener(v -> { + final Button useAdvancedMode = findViewById(R.id.use_advanced_mode); + useAdvancedMode.setOnClickListener(v -> { List accounts = xmppConnectionService.getAccounts(); Intent intent = new Intent(WelcomeActivity.this, EditAccountActivity.class); if (accounts.size() == 1) { diff --git a/src/main/res/layout/welcome.xml b/src/main/res/layout/welcome.xml index a388f1d91..f16cc92b8 100644 --- a/src/main/res/layout/welcome.xml +++ b/src/main/res/layout/welcome.xml @@ -77,12 +77,12 @@ android:textColor="?attr/colorAccent" />