alpha release build 0.3.0

This commit is contained in:
刘浩远 2020-06-17 17:13:06 +08:00
parent 5cc25dea02
commit 19bc9b7cf0
6 changed files with 3 additions and 6 deletions

View File

@ -15,7 +15,7 @@ If you are using macOS or an older version of Windows, you can also [get Fluent
## Features
<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>
- A modern UI inspired by Fluent Design System with full dark mode support.

View File

Before

Width:  |  Height:  |  Size: 318 KiB

After

Width:  |  Height:  |  Size: 318 KiB

1
items
View File

@ -1 +0,0 @@
{"$$indexCreated":{"fieldName":"source","unique":false,"sparse":false}}

View File

@ -1,6 +1,6 @@
{
"name": "fluent-reader",
"version": "0.2.0",
"version": "0.3.0",
"description": "A simplistic, modern desktop RSS reader",
"main": "./dist/electron.js",
"scripts": {

View File

@ -1,2 +0,0 @@
{"$$indexCreated":{"fieldName":"sid","unique":true,"sparse":false}}
{"$$indexCreated":{"fieldName":"url","unique":true,"sparse":false}}

View File

@ -149,7 +149,7 @@ export function fetchItems(): AppThunk<Promise<void>> {
if (!getState().app.fetchingItems) {
let timenow = new Date().getTime()
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) {
let promise = RSSSource.fetchItems(source, rssParser)