Add string resources

This commit is contained in:
Josephine Lim 2017-05-15 11:20:53 +02:00
parent d0622d14b1
commit 4a53db8476
2 changed files with 2 additions and 3 deletions

View file

@ -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();
}