Skip to content

Commit 1a3f984

Browse files
authored
Merge pull request #1084 from kmycode/kb-draft-22.1
Release: 22.1
2 parents 6c4a1f5 + e1a2b55 commit 1a3f984

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

app/controllers/application_controller.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,11 @@ def current_session
174174
end
175175

176176
def current_theme
177-
return Setting.theme unless Themes.instance.names.include? current_user&.setting_theme
177+
unless Themes.instance.names.include? current_user&.setting_theme
178+
return 'default' unless Themes.instance.names.include? Setting.theme
179+
180+
return Setting.theme
181+
end
178182

179183
current_user.setting_theme
180184
end

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ services:
5959
web:
6060
# You can uncomment the following line if you want to not use the prebuilt image, for example if you have local code changes
6161
build: .
62-
image: kmyblue:22.0
62+
image: kmyblue:22.1
6363
restart: always
6464
env_file: .env.production
6565
command: bundle exec puma -C config/puma.rb
@@ -83,7 +83,7 @@ services:
8383
build:
8484
dockerfile: ./streaming/Dockerfile
8585
context: .
86-
image: kmyblue-streaming:22.0
86+
image: kmyblue-streaming:22.1
8787
restart: always
8888
env_file: .env.production
8989
command: node ./streaming/index.js
@@ -101,7 +101,7 @@ services:
101101

102102
sidekiq:
103103
build: .
104-
image: kmyblue:22.0
104+
image: kmyblue:22.1
105105
restart: always
106106
env_file: .env.production
107107
command: bundle exec sidekiq

lib/mastodon/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def kmyblue_major
1313
end
1414

1515
def kmyblue_minor
16-
0
16+
1
1717
end
1818

1919
def kmyblue_flag

0 commit comments

Comments
 (0)