Browse Source

Update app/src/main/java/awais/instagrabber/adapters/KeywordsFilterAdapter.java

Co-authored-by: Austin Huang <[email protected]>
renovate/org.robolectric-robolectric-4.x
Zerrium 4 years ago
committed by GitHub
parent
commit
03413eedcd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/src/main/java/awais/instagrabber/adapters/KeywordsFilterAdapter.java

2
app/src/main/java/awais/instagrabber/adapters/KeywordsFilterAdapter.java

@ -43,7 +43,7 @@ public class KeywordsFilterAdapter extends RecyclerView.Adapter<KeywordsFilterDi
items.remove(position); items.remove(position);
settingsHelper.putStringSet(Constants.KEYWORD_FILTERS, new HashSet<>(items)); settingsHelper.putStringSet(Constants.KEYWORD_FILTERS, new HashSet<>(items));
notifyDataSetChanged(); notifyDataSetChanged();
final String message = context.getString(R.string.removed_keywords).replace("{0}", s);
final String message = context.getString(R.string.removed_keywords, s);
Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); Toast.makeText(context, message, Toast.LENGTH_SHORT).show();
}); });
} }

Loading…
Cancel
Save