string fix #108
@ -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);
|
||||
}
|
||||
});
|
||||
|
@ -419,6 +419,7 @@
|
||||
<string name="on">ON</string>
|
||||
<string name="off">OFF</string>
|
||||
<string name="scrap_tutor_tab">Scrap!</string>
|
||||
<string name="scrap_tutor_msg">Data updated!</string>
|
||||
<string name="no_online_users">Currently, there are no\nonline users.</string>
|
||||
<string name="no_offline_users">Currently, there are no\noffline users.</string>
|
||||
<string name="only_online_users">Only online users</string>
|
||||
|
Loading…
Reference in New Issue
Block a user