Update version and screenshot

This commit is contained in:
spikecodes 2021-01-31 18:50:31 -08:00
parent 971f14bb55
commit ee0da63862
No known key found for this signature in database
GPG Key ID: 004CECFF9B463BCB
4 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -994,7 +994,7 @@ checksum = "1cca32fa0182e8c0989459524dc356b8f2b5c10f1b9eb521b7d182c03cf8c5ff"
[[package]] [[package]]
name = "libreddit" name = "libreddit"
version = "0.2.8" version = "0.2.9"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"askama", "askama",

View File

@ -3,7 +3,7 @@ name = "libreddit"
description = " Alternative private front-end to Reddit" description = " Alternative private front-end to Reddit"
license = "AGPL-3.0" license = "AGPL-3.0"
repository = "https://github.com/spikecodes/libreddit" repository = "https://github.com/spikecodes/libreddit"
version = "0.2.8" version = "0.2.9"
authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"] authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"]
edition = "2018" edition = "2018"

View File

@ -2,7 +2,7 @@
> An alternative private front-end to Reddit > An alternative private front-end to Reddit
![screenshot](https://i.ibb.co/FxxbKM6/libreddit-rust.png) ![screenshot](https://i.ibb.co/185749F/image.png)
--- ---

View File

@ -145,7 +145,7 @@ pub fn prefs(req: HttpRequest) -> Preferences {
wide: cookie(&req, "wide"), wide: cookie(&req, "wide"),
show_nsfw: cookie(&req, "show_nsfw"), show_nsfw: cookie(&req, "show_nsfw"),
comment_sort: cookie(&req, "comment_sort"), comment_sort: cookie(&req, "comment_sort"),
subs: cookie(&req, "subscriptions").split('+').map(String::from).filter(|s| s != "").collect(), subs: cookie(&req, "subscriptions").split('+').map(String::from).filter(|s| !s.is_empty()).collect(),
} }
} }