ctucx.git: nixfiles

ctucx' nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
34 
35 
36 
From c9b95daed5bb9e199740781be81826f87cdde8b0 Mon Sep 17 00:00:00 2001
From: "Katja (ctucx)" <git@ctu.cx>
Date: Sat, 4 Jan 2025 01:51:48 +0100
Subject: [PATCH 2/2] update default state

---
 app/javascript/flavours/glitch/reducers/local_settings.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/javascript/flavours/glitch/reducers/local_settings.js b/app/javascript/flavours/glitch/reducers/local_settings.js
index 39a910ef6..e62ea5c48 100644
--- a/app/javascript/flavours/glitch/reducers/local_settings.js
+++ b/app/javascript/flavours/glitch/reducers/local_settings.js
@@ -6,8 +6,8 @@ import { LOCAL_SETTING_CHANGE, LOCAL_SETTING_DELETE } from 'flavours/glitch/acti
 import { STORE_HYDRATE } from 'flavours/glitch/actions/store';
 
 const initialState = ImmutableMap({
-  layout    : 'mobile',
-  stretch   : true,
+  layout    : 'single',
+  stretch   : false,
   side_arm  : 'none',
   side_arm_reply_mode : 'keep',
   show_reply_count : false,
@@ -63,7 +63,7 @@ const initialState = ImmutableMap({
     media:      true,
     visibility: true,
   }),
-  theme: 'mastodon-light',
+  theme: 'mastodon',
 });
 
 const hydrate = (state, localSettings) => state.mergeDeep(localSettings);
-- 
2.47.0