mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-01 10:56:42 +02:00
Add unsupportedNote property
This commit is contained in:
@@ -182,7 +182,7 @@ export class GlobalSettingsStorage extends BaseSettingsStorage {
|
||||
|
||||
if (keys.length <= 1) { // Unsupported
|
||||
setting.unsupported = true;
|
||||
setting.note = '⚠️ ' + t('browser-unsupported-feature');
|
||||
setting.unsupportedNote = '⚠️ ' + t('browser-unsupported-feature');
|
||||
}
|
||||
|
||||
setting.suggest = {
|
||||
@@ -405,7 +405,7 @@ export class GlobalSettingsStorage extends BaseSettingsStorage {
|
||||
url = 'https://better-xcloud.github.io/mouse-and-keyboard/#disclaimer';
|
||||
}
|
||||
|
||||
setting.note = CE('a', {
|
||||
setting.unsupportedNote = CE('a', {
|
||||
href: url,
|
||||
target: '_blank',
|
||||
}, '⚠️ ' + note);
|
||||
|
Reference in New Issue
Block a user