Fix subscription clearing when saving settings

This commit is contained in:
spikecodes 2021-05-19 15:59:32 -07:00
parent 43ed9756dc
commit 73732a2a44
No known key found for this signature in database
GPG Key ID: 004CECFF9B463BCB
3 changed files with 5 additions and 6 deletions

6
Cargo.lock generated
View File

@ -196,9 +196,9 @@ dependencies = [
[[package]]
name = "const_fn"
version = "0.4.7"
version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "402da840495de3f976eaefc3485b7f5eb5b0bf9761f9a47be27fe975b3b8c2ec"
checksum = "f92cfa0fd5690b3cf8c1ef2cabbd9b7ef22fa53cf5e1f92b05103f6d5d1cf6e7"
[[package]]
name = "cookie"
@ -609,7 +609,7 @@ checksum = "18794a8ad5b29321f790b55d93dfba91e125cb1a9edbd4f8e3150acc771c1a5e"
[[package]]
name = "libreddit"
version = "0.14.0"
version = "0.14.1"
dependencies = [
"askama",
"async-recursion",

View File

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

View File

@ -18,7 +18,7 @@ struct SettingsTemplate {
// CONSTANTS
const PREFS: [&str; 10] = [
const PREFS: [&str; 9] = [
"theme",
"front_page",
"layout",
@ -28,7 +28,6 @@ const PREFS: [&str; 10] = [
"show_nsfw",
"use_hls",
"hide_hls_notification",
"subscriptions",
];
// FUNCTIONS