try to resolve non-static/static error
This commit is contained in:
parent
3549448ac5
commit
11a2c04876
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ public class FavouritesActivity extends ExpandableListActivity {
|
|||
if (aItem.getItemId() == DELETE_ITEM) {
|
||||
final Resources resources = this.getResources();
|
||||
Builder builder = new AlertDialog.Builder(this);
|
||||
builder.setMessage(MessageFormat.format(getString(R.string.favourites_remove_dialog_msg, point.getName())));
|
||||
builder.setMessage(MessageFormat.format(resources.getString(R.string.favourites_remove_dialog_msg, point.getName())));
|
||||
builder.setNegativeButton(R.string.default_buttons_no, null);
|
||||
builder.setPositiveButton(R.string.default_buttons_yes, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue