- Added a "Download text" preference. Defaults on.
- If on, the text is fetched for feeds that are in text view when fetching new stories.
- The text is fetched after stories, and before images, using a similar mechanism.
- The text is stored in a new "cached_text" database table.
- The text is deleted when the story is deleted.
- When displaying a text view, the cached text is used if available, otherwise it is fetched as before.
Works just like on the website, except easier to find. :) Note that I had to add the Cmd key to the Add Site and Select Everything keyboard shortcuts, so the A and E characters could be typed in the search field.
These indices are used in appDelegate.dictFoldersArray and as UIButton tags.
Removes a number of places where a number-to-name lookup was done for no apparent reason when the items are in appDelegate.dictFoldersArray already.
Fixes issue where all stories are now at index 3, not 2, and shift-E was showing infrequent stories on iPad because the index was not updated when infrequent stories were introduced.
Eliminated the old WYPopoverController from the code, since it isn’t
needed and isn’t compatible with theming. All popovers now use the
modern UIPopoverPresentationController mechanism.
Only the older/newer long-press one; still have the story image one,
but I think that’s okay as-is since it has a title/alt text display.
Also removed some redundant code.