Replace title/desc in NearbyMapFragment to fix NPE

This commit is contained in:
misaochan 2018-01-24 22:06:42 +10:00 committed by maskara
parent 9b63a8f87d
commit 82e9ffbdb8

View file

@ -430,8 +430,8 @@ public class NearbyMapFragment extends DaggerFragment {
void storeSharedPrefs() { void storeSharedPrefs() {
SharedPreferences.Editor editor = directPrefs.edit(); SharedPreferences.Editor editor = directPrefs.edit();
editor.putString("Title", title); editor.putString("Title", place.getName());
editor.putString("Desc", desc); editor.putString("Desc", place.getLongDescription());
editor.apply(); editor.apply();
} }