From: Dessalines Date: Sat, 3 Oct 2020 16:44:25 +0000 (-0500) Subject: Changing default theme to browser from darkly. Fixes #1163 X-Git-Url: http://these/git/?a=commitdiff_plain;h=04a4624f14b323c9b5b3108b46777f0962a9b3c0;p=lemmy.git Changing default theme to browser from darkly. Fixes #1163 --- diff --git a/lemmy_api/src/user.rs b/lemmy_api/src/user.rs index 4324c936..5374f0b2 100644 --- a/lemmy_api/src/user.rs +++ b/lemmy_api/src/user.rs @@ -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(), diff --git a/lemmy_db/src/activity.rs b/lemmy_db/src/activity.rs index c3f0ab67..7a2da823 100644 --- a/lemmy_db/src/activity.rs +++ b/lemmy_db/src/activity.rs @@ -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(), diff --git a/lemmy_db/src/comment.rs b/lemmy_db/src/comment.rs index 398ea78b..02c84187 100644 --- a/lemmy_db/src/comment.rs +++ b/lemmy_db/src/comment.rs @@ -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(), diff --git a/lemmy_db/src/comment_view.rs b/lemmy_db/src/comment_view.rs index a3358ac4..568083ce 100644 --- a/lemmy_db/src/comment_view.rs +++ b/lemmy_db/src/comment_view.rs @@ -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(), diff --git a/lemmy_db/src/community.rs b/lemmy_db/src/community.rs index 24cf7e32..57227a08 100644 --- a/lemmy_db/src/community.rs +++ b/lemmy_db/src/community.rs @@ -329,7 +329,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(), diff --git a/lemmy_db/src/moderator.rs b/lemmy_db/src/moderator.rs index 3edd4350..fb74def0 100644 --- a/lemmy_db/src/moderator.rs +++ b/lemmy_db/src/moderator.rs @@ -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(), diff --git a/lemmy_db/src/password_reset_request.rs b/lemmy_db/src/password_reset_request.rs index 8a831a8d..20db73ec 100644 --- a/lemmy_db/src/password_reset_request.rs +++ b/lemmy_db/src/password_reset_request.rs @@ -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(), diff --git a/lemmy_db/src/post.rs b/lemmy_db/src/post.rs index 724c342c..41401431 100644 --- a/lemmy_db/src/post.rs +++ b/lemmy_db/src/post.rs @@ -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(), diff --git a/lemmy_db/src/post_view.rs b/lemmy_db/src/post_view.rs index 8f606b22..247f53ac 100644 --- a/lemmy_db/src/post_view.rs +++ b/lemmy_db/src/post_view.rs @@ -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(), diff --git a/lemmy_db/src/private_message.rs b/lemmy_db/src/private_message.rs index 988d97d3..4775ceba 100644 --- a/lemmy_db/src/private_message.rs +++ b/lemmy_db/src/private_message.rs @@ -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(), diff --git a/lemmy_db/src/user.rs b/lemmy_db/src/user.rs index 83f0559a..ee041ab6 100644 --- a/lemmy_db/src/user.rs +++ b/lemmy_db/src/user.rs @@ -191,7 +191,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(), @@ -221,7 +221,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(), diff --git a/lemmy_db/src/user_mention.rs b/lemmy_db/src/user_mention.rs index f35722cf..79f93801 100644 --- a/lemmy_db/src/user_mention.rs +++ b/lemmy_db/src/user_mention.rs @@ -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(),