mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00

- 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.
23 lines
412 B
Objective-C
23 lines
412 B
Objective-C
//
|
|
// OfflineFetchText.h
|
|
// NewsBlur
|
|
//
|
|
// Created by David Sinclair on 2019-10-25.
|
|
// Copyright © 2019 NewsBlur. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "NewsBlurAppDelegate.h"
|
|
#import "FMDatabaseQueue.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface OfflineFetchText : NSOperation
|
|
|
|
@property (nonatomic) NewsBlurAppDelegate *appDelegate;
|
|
|
|
- (BOOL)fetchText;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|