mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
return null when setting is missing
This commit is contained in:
parent
9f019e0d85
commit
a95766d4a5
1 changed files with 1 additions and 1 deletions
|
@ -881,7 +881,7 @@ public class PrefsUtils {
|
|||
}
|
||||
public static String getWidgetFeed(Context context, int widgetId) {
|
||||
SharedPreferences preferences = context.getSharedPreferences(PrefConstants.PREFERENCES, 0);
|
||||
String feedId = preferences.getString(PrefConstants.WIDGET_FEED_ID + widgetId, "0");
|
||||
String feedId = preferences.getString(PrefConstants.WIDGET_FEED_ID + widgetId, null);
|
||||
return feedId;
|
||||
}
|
||||
public static String getWidgetFeedName(Context context, int widgetId) {
|
||||
|
|
Loading…
Add table
Reference in a new issue