mirror of
https://github.com/yang991178/fluent-reader.git
synced 2025-04-27 00:18:48 +02:00
alpha release build 0.3.0
This commit is contained in:
parent
5cc25dea02
commit
19bc9b7cf0
@ -15,7 +15,7 @@ If you are using macOS or an older version of Windows, you can also [get Fluent
|
|||||||
## Features
|
## Features
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://github.com/yang991178/rss-reader/raw/master/screenshot.jpg">
|
<img src="https://github.com/yang991178/rss-reader/raw/master/docs/imgs/screenshot.jpg">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
- A modern UI inspired by Fluent Design System with full dark mode support.
|
- A modern UI inspired by Fluent Design System with full dark mode support.
|
||||||
|
Before Width: | Height: | Size: 318 KiB After Width: | Height: | Size: 318 KiB |
1
items
1
items
@ -1 +0,0 @@
|
|||||||
{"$$indexCreated":{"fieldName":"source","unique":false,"sparse":false}}
|
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "fluent-reader",
|
"name": "fluent-reader",
|
||||||
"version": "0.2.0",
|
"version": "0.3.0",
|
||||||
"description": "A simplistic, modern desktop RSS reader",
|
"description": "A simplistic, modern desktop RSS reader",
|
||||||
"main": "./dist/electron.js",
|
"main": "./dist/electron.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
2
sources
2
sources
@ -1,2 +0,0 @@
|
|||||||
{"$$indexCreated":{"fieldName":"sid","unique":true,"sparse":false}}
|
|
||||||
{"$$indexCreated":{"fieldName":"url","unique":true,"sparse":false}}
|
|
@ -149,7 +149,7 @@ export function fetchItems(): AppThunk<Promise<void>> {
|
|||||||
if (!getState().app.fetchingItems) {
|
if (!getState().app.fetchingItems) {
|
||||||
let timenow = new Date().getTime()
|
let timenow = new Date().getTime()
|
||||||
let sources = <RSSSource[]>Object.values(getState().sources).filter(s =>
|
let sources = <RSSSource[]>Object.values(getState().sources).filter(s =>
|
||||||
(s.lastFetched.getTime() + (s.fetchFrequency || 0) * 60000) <= timenow
|
((s.lastFetched ? s.lastFetched.getTime() : 0) + (s.fetchFrequency || 0) * 60000) <= timenow
|
||||||
)
|
)
|
||||||
for (let source of sources) {
|
for (let source of sources) {
|
||||||
let promise = RSSSource.fetchItems(source, rssParser)
|
let promise = RSSSource.fetchItems(source, rssParser)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user