Skip to content

Commit 99635f8

Browse files
committed
Fix feature flag upgrade behaviour for post title action
1 parent aa9bdf3 commit 99635f8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/main/assets/changelog-alpha.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/Alpha 348 (2023-12-29)
2+
Fix feature flag upgrade behaviour for post title action
3+
14
/Alpha 347 (2023-12-29)
25
Added a preference to automatically open the first image in an album
36
Made links blue again in dark themes

src/main/java/org/quantumbadger/redreader/common/FeatureFlagHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ private enum FeatureFlag {
5252
REPLY_IN_POST_ACTION_MENU_FEATURE("replyInPostActionMenuFeature"),
5353
MAIN_MENU_FIND_SUBREDDIT_FEATURE("mainMenuFindSubreddit"),
5454
OPEN_COMMENT_EXTERNALLY_FEATURE("openCommentExternallyFeature"),
55-
POST_TITLE_TAP_ACTION_FEATURE("postTitleTapAction");
55+
POST_TITLE_TAP_ACTION_FEATURE("postTitleTapActionFeature");
5656

5757
@NonNull private final String id;
5858

@@ -279,7 +279,7 @@ public static void handleUpgrade(@NonNull final Context context) {
279279

280280
prefs.edit().putString(
281281
context.getString(R.string.pref_behaviour_post_tap_action_key),
282-
"title_comments"
282+
"comments"
283283
).apply();
284284
}
285285
}

0 commit comments

Comments
 (0)