From 73732a2a44d55974f6f4205d028f640ed28dae50 Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Wed, 19 May 2021 15:59:32 -0700 Subject: [PATCH] Fix subscription clearing when saving settings --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- src/settings.rs | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 195a7dc..92c9e4d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index 8e66061..4c8ddf0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/settings.rs b/src/settings.rs index 41b6404..7676049 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -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