Fixed null pointer in favorites db helerp
This commit is contained in:
parent
a1b10b5aec
commit
525703b4be
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ public class FavouritesDbHelper {
|
|||
}
|
||||
}
|
||||
if (index.length() > 0 || emoticons){
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(context.getMapActivity());
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(context);
|
||||
builder.setTitle(R.string.fav_point_dublicate);
|
||||
if (emoticons){
|
||||
builder.setMessage(context.getString(R.string.fav_point_emoticons_message, name));
|
||||
|
|
Loading…
Reference in a new issue