Closed kiriDevs closed 1 year ago
I think I figured out the cause of this.
When the "only show relevant subjects" (filter switch 1) is disabled, "ignore subject filter" (filter switch 2) is automatically disabled. However, this automatic change is not saved to localStorage, meaning filter.ignoreSubjects
is loaded as true
again on the next occasion, which entering and leaving settings is, as entering settings will fully un-mount the <HomeScreen />
component, meaning localStorage is re-read on the next mount.
When you quickly switch to settings after disabling "only display relevant entries", "Ignore subjects filter" stays on, resulting in bugged highlighting behaviour after returning to the viewer from settings (partial matches displayed as full matches).