Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

This seems to fix #32 #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static Set<String> getStocks(Context context) {

private static void editStockPref(Context context, String symbol, Boolean add) {
String key = context.getString(R.string.pref_stocks_key);
Set<String> stocks = getStocks(context);
Set<String> stocks = new HashSet<>(getStocks(context));

if (add) {
stocks.add(symbol);
Expand Down