Simpler settings screen (tips, help, titles, ...)

This commit is contained in:
John Livingston
2021-06-03 12:20:19 +02:00
parent 22f7423f50
commit 5e69474234
3 changed files with 49 additions and 44 deletions

View File

@ -21,6 +21,8 @@ function register ({ registerSettingsScript }: RegisterOptions): void {
return options.formValues['chat-type'] !== ('external-uri' as ChatType)
case 'chat-style':
return options.formValues['chat-type'] === 'disabled'
case 'chat-only-locals-warning':
return options.formValues['chat-only-locals'] === true
}
return false