Skip to content

Commit

Permalink
Fix feature flag upgrade behaviour for post title action
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumBadger committed Dec 29, 2023
1 parent aa9bdf3 commit 99635f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/main/assets/changelog-alpha.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/Alpha 348 (2023-12-29)
Fix feature flag upgrade behaviour for post title action

/Alpha 347 (2023-12-29)
Added a preference to automatically open the first image in an album
Made links blue again in dark themes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private enum FeatureFlag {
REPLY_IN_POST_ACTION_MENU_FEATURE("replyInPostActionMenuFeature"),
MAIN_MENU_FIND_SUBREDDIT_FEATURE("mainMenuFindSubreddit"),
OPEN_COMMENT_EXTERNALLY_FEATURE("openCommentExternallyFeature"),
POST_TITLE_TAP_ACTION_FEATURE("postTitleTapAction");
POST_TITLE_TAP_ACTION_FEATURE("postTitleTapActionFeature");

@NonNull private final String id;

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

prefs.edit().putString(
context.getString(R.string.pref_behaviour_post_tap_action_key),
"title_comments"
"comments"
).apply();
}
}
Expand Down

0 comments on commit 99635f8

Please sign in to comment.