Show Settings button in header when not signed in

This commit is contained in:
redphx
2024-07-15 17:04:04 +07:00
parent d41fd22a47
commit 7409956616
5 changed files with 31 additions and 17 deletions

View File

@@ -17,6 +17,7 @@ export const STATES: BxStates = {
serverRegions: {},
selectedRegion: {},
gsToken: '',
isSignedIn: false,
isPlaying: false,
appContext: {},

View File

@@ -128,7 +128,7 @@ export class Preferences {
},
[PrefKey.SERVER_BYPASS_RESTRICTION]: {
label: t('bypass-region-restriction'),
note: t('use-this-at-your-own-risk'),
note: '⚠️ ' + t('use-this-at-your-own-risk'),
default: 'off',
options: Object.assign({
'off': t('off'),