1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-12-23 05:16:58 +00:00

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

Co-authored-by: Austin Huang <im@austinhuang.me>
This commit is contained in:
Zerrium 2021-03-21 01:16:19 +07:00 committed by GitHub
parent 311c7feb80
commit 03413eedcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ public class KeywordsFilterAdapter extends RecyclerView.Adapter<KeywordsFilterDi
items.remove(position);
settingsHelper.putStringSet(Constants.KEYWORD_FILTERS, new HashSet<>(items));
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();
});
}