Merge pull request #1169 from LemmyNet/new_default_theme

Changing default theme to browser from darkly. Fixes #1163
This commit is contained in:
Nutomic 2020-10-05 15:47:26 +00:00 committed by GitHub
commit 14c3d10ba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 16 additions and 16 deletions

View File

@ -172,7 +172,7 @@ impl Perform for Register {
admin: data.admin,
banned: false,
show_nsfw: data.show_nsfw,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Active as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),

View File

@ -108,7 +108,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),

View File

@ -284,7 +284,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),

View File

@ -523,7 +523,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),

View File

@ -330,7 +330,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),

View File

@ -420,7 +420,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),
@ -449,7 +449,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),

View File

@ -104,7 +104,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),

View File

@ -353,7 +353,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),

View File

@ -418,7 +418,7 @@ mod tests {
admin: false,
banned: false,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),

View File

@ -161,7 +161,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),
@ -190,7 +190,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),

View File

@ -197,7 +197,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),
@ -227,7 +227,7 @@ mod tests {
published: inserted_user.published,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),

View File

@ -100,7 +100,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),
@ -129,7 +129,7 @@ mod tests {
published: None,
updated: None,
show_nsfw: false,
theme: "darkly".into(),
theme: "browser".into(),
default_sort_type: SortType::Hot as i16,
default_listing_type: ListingType::Subscribed as i16,
lang: "browser".into(),