mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-18 04:51:03 +00:00
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:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user