Skip to content

Commit b3fc63e

Browse files
authored
Merge pull request RocketChat#193 from Shailesh351/sb_statusbar
[NEW] Add Statusbar Color
2 parents 61e78d7 + 47e71a4 commit b3fc63e

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

app/ui-master/server/inject.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Meteor.startup(() => {
6565
}
6666
});
6767

68-
settings.get('theme-color-sidebar-background', (key, value) => {
68+
settings.get('theme-color-rc-color-primary', (key, value) => {
6969
const escapedValue = s.escapeHTML(value);
7070
injectIntoHead(key, `<meta name="msapplication-TileColor" content="${ escapedValue }" />`
7171
+ `<meta name="theme-color" content="${ escapedValue }" />`);

client/head.html

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
<meta name="msapplication-config" content="images/browserconfig.xml" />
1414
<meta property="og:image" content="assets/favicon_512.png" />
1515
<meta property="twitter:image" content="assets/favicon_512.png" />
16+
17+
<!-- iOS -->
18+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
19+
1620
<link rel="manifest" href="manifest.json" />
1721
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/nocfbnnmjnndkbipkabodnheejiegccf" />
1822
<link rel="mask-icon" href="assets/safari_pinned.svg" color="#04436a">

public/manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "Viasat Connect",
33
"short_name": "Viasat Connect",
44
"background_color": "#0B6379",
5+
"theme_color":"#0B6379",
56
"icons": [
67
{
78
"src": "images/icons/icon-72x72.png",

0 commit comments

Comments
 (0)