mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Add string resources
This commit is contained in:
parent
d0622d14b1
commit
4a53db8476
2 changed files with 2 additions and 3 deletions
|
|
@ -160,10 +160,8 @@ public class NearbyActivity extends BaseActivity {
|
|||
gsonCurLatLng = gson.toJson(curLatLang);
|
||||
|
||||
if (placeList.size() == 0) {
|
||||
CharSequence text = "No nearby places found";
|
||||
int duration = Toast.LENGTH_SHORT;
|
||||
|
||||
Toast toast = Toast.makeText(mContext, text, duration);
|
||||
Toast toast = Toast.makeText(mContext, R.string.no_nearby, duration);
|
||||
toast.show();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue