mirror of
https://github.com/faroukbmiled/RyukGram.git
synced 2026-06-01 05:01:35 +02:00
feat: Per-user story seen-receipt exclusions
feat: Story seen button mode (button / toggle) feat: Long-press menu on the story seen button (mark seen, exclude, settings) feat: Auto mark-seen on exclude for both stories and DM chats imp: Cleaner exclusion menu wording across stories and DMs imp: Tweak settings now update in real time for exclude ui imp: Ability to batch select in both stories and messages exclude UI
This commit is contained in:
+7
-2
@@ -61,7 +61,10 @@ BOOL dmVisualMsgsViewedButtonEnabled = false;
|
||||
@"warn_refresh_clears_preserved": @(NO),
|
||||
@"enable_chat_exclusions": @(YES),
|
||||
@"exclusions_default_keep_deleted": @(NO),
|
||||
@"unexclude_inbox_button": @(YES)
|
||||
@"unexclude_inbox_button": @(YES),
|
||||
@"enable_story_user_exclusions": @(YES),
|
||||
@"story_excluded_show_unexclude_eye": @(YES),
|
||||
@"story_seen_mode": @"button"
|
||||
};
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:sciDefaults];
|
||||
|
||||
@@ -611,7 +614,9 @@ shouldPersistLastBugReportId:(id)arg6
|
||||
|
||||
}
|
||||
|
||||
return %orig([filteredObjs copy], edr, headerLabelText);
|
||||
extern NSArray *sciMaybeAppendStoryExcludeMenuItem(NSArray *);
|
||||
NSArray *finalObjs = sciMaybeAppendStoryExcludeMenuItem([filteredObjs copy]);
|
||||
return %orig(finalObjs, edr, headerLabelText);
|
||||
}
|
||||
%end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user