Working with #3129 issue (#3146)

* Replace Hard-Coded strings with those from strings.xml.
This commit is contained in:
PavelAplevich 2019-09-09 08:31:30 +03:00 committed by Ashish Kumar
parent 0349e3e069
commit 864ecad2e7
6 changed files with 15 additions and 8 deletions

View file

@ -511,7 +511,7 @@ public class NearbyMapFragment extends DaggerFragment {
}
title.setOnLongClickListener(view -> {
Utils.copy("place",title.getText().toString(),getContext());
Toast.makeText(getContext(),"Text copied to clipboard",Toast.LENGTH_SHORT).show();
Toast.makeText(getContext(),getString(R.string.text_copy),Toast.LENGTH_SHORT).show();
return true;
}
);