From aec9eaae191005e5226ce001c1ba665d42b287f2 Mon Sep 17 00:00:00 2001 From: Domagalski Date: Wed, 2 Jan 2019 12:21:05 +0100 Subject: [PATCH] string fixes --- .../java/com/uam/wmi/findmytutor/activity/BlackList.java | 6 +++--- app/src/main/res/values/strings.xml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/uam/wmi/findmytutor/activity/BlackList.java b/app/src/main/java/com/uam/wmi/findmytutor/activity/BlackList.java index c9faef8..80885e4 100644 --- a/app/src/main/java/com/uam/wmi/findmytutor/activity/BlackList.java +++ b/app/src/main/java/com/uam/wmi/findmytutor/activity/BlackList.java @@ -89,7 +89,7 @@ public class BlackList extends AppCompatActivity { getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); setContentView(R.layout.activity_black_list); ButterKnife.bind(this); - aSwitch.setText(getString(R.string.blacklist) +" ON"); + aSwitch.setText(getString(R.string.action_black_list) +" ON"); tutorId = PrefUtils.getUserId(getApplicationContext()); Toolbar toolbar = findViewById(R.id.toolbar); @@ -312,10 +312,10 @@ public class BlackList extends AppCompatActivity { private void handleSwitch(){ aSwitch.setOnCheckedChangeListener((buttonView, isChecked) -> { if (isChecked){ - aSwitch.setText(getString(R.string.blacklist) + " "+ getString(R.string.on)); + aSwitch.setText(getString(R.string.action_black_list) + " "+ getString(R.string.on)); handleChangeRequest(true); }else { - aSwitch.setText(getString(R.string.blacklist) + " "+getString(R.string.off)); + aSwitch.setText(getString(R.string.action_black_list) + " "+getString(R.string.off)); handleChangeRequest(false); } }); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ab998bf..7f42f4d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -419,6 +419,7 @@ ON OFF Scrap! + Data updated! Currently, there are no\nonline users. Currently, there are no\noffline users. Only online users -- 2.20.1