Add a new notification setting (#498)

* add notification type to ui_settings

* notificationType -> notification

* Update packages/ui-settings/src/Settings.ts

* Update packages/ui-settings/src/Settings.ts

Co-authored-by: Jaco <jacogr@gmail.com>
This commit is contained in:
Shawn Tabrizi
2021-07-03 02:22:39 -04:00
committed by GitHub
parent 3c3cd43bf6
commit d0016d6672
4 changed files with 16 additions and 2 deletions
+2 -1
View File
@@ -7,7 +7,7 @@ import { CRYPTOS, CRYPTOS_ETH, CRYPTOS_LEDGER } from './crypto';
import { ENDPOINT_DEFAULT, ENDPOINTS } from './endpoints';
import { LEDGER_CONN, LEDGER_CONN_DEFAULT } from './ledger';
import { PREFIX_DEFAULT, PREFIXES } from './ss58';
import { ICON_DEFAULT, ICON_DEFAULT_HOST, ICONS, UIMODE_DEFAULT, UIMODES, UITHEME_DEFAULT, UITHEMES } from './ui';
import { ICON_DEFAULT, ICON_DEFAULT_HOST, ICONS, NOTIFICATION_DEFAULT, UIMODE_DEFAULT, UIMODES, UITHEME_DEFAULT, UITHEMES } from './ui';
const CAMERA_DEFAULT = 'off';
@@ -57,6 +57,7 @@ export {
LEDGER_CONN,
LOCKING_DEFAULT,
LOCKING,
NOTIFICATION_DEFAULT,
PREFIX_DEFAULT,
PREFIXES,
UIMODE_DEFAULT,
+3
View File
@@ -70,11 +70,14 @@ const ICONS: Option[] = [
}
];
const NOTIFICATION_DEFAULT = 'popup';
export {
ICON_DEFAULT,
ICON_DEFAULT_HOST,
ICONS,
LANGUAGE_DEFAULT,
NOTIFICATION_DEFAULT,
UIMODE_DEFAULT,
UIMODES,
UITHEME_DEFAULT,