mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Replace title/desc in NearbyMapFragment to fix NPE
This commit is contained in:
parent
083564c906
commit
6134cf4d14
1 changed files with 2 additions and 2 deletions
|
|
@ -424,8 +424,8 @@ public class NearbyMapFragment extends DaggerFragment {
|
|||
void storeSharedPrefs() {
|
||||
SharedPreferences.Editor editor = directPrefs.edit();
|
||||
|
||||
editor.putString("Title", title);
|
||||
editor.putString("Desc", desc);
|
||||
editor.putString("Title", place.getName());
|
||||
editor.putString("Desc", place.getLongDescription());
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue