Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1029712b23
2 changed files with 2 additions and 1 deletions
|
@ -196,7 +196,6 @@ public class FavouritesDbHelper {
|
|||
} else {
|
||||
builder.setMessage(uiContext.getString(R.string.fav_point_dublicate_message, name));
|
||||
}
|
||||
builder.setPositiveButton(R.string.shared_string_ok, null);
|
||||
p.setName(name);
|
||||
return builder;
|
||||
}
|
||||
|
@ -231,6 +230,7 @@ public class FavouritesDbHelper {
|
|||
++index;
|
||||
}
|
||||
|
||||
builder.trimToSize(); // remove trailing null characters
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
|
|
|
@ -221,6 +221,7 @@ public class FavoriteDialogs {
|
|||
addFavorite(activity, point, helper);
|
||||
}
|
||||
});
|
||||
bld.show();
|
||||
} else {
|
||||
addFavorite(activity, point, helper);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue