diff --git a/packages/desktop/components/buttons/popup-buttons/AllotManaButton.svelte b/packages/desktop/components/buttons/popup-buttons/AllotManaButton.svelte new file mode 100644 index 00000000000..4a3ec9333bd --- /dev/null +++ b/packages/desktop/components/buttons/popup-buttons/AllotManaButton.svelte @@ -0,0 +1,26 @@ + + + diff --git a/packages/desktop/components/buttons/popup-buttons/index.js b/packages/desktop/components/buttons/popup-buttons/index.js index f3d2c597218..11d145c88ec 100644 --- a/packages/desktop/components/buttons/popup-buttons/index.js +++ b/packages/desktop/components/buttons/popup-buttons/index.js @@ -4,3 +4,4 @@ export { default as MintNativeTokenButton } from './MintNativeTokenButton.svelte export { default as MintNftButton } from './MintNftButton.svelte' export { default as RefreshTokenMetadataButton } from './RefreshTokenMetadataButton.svelte' export { default as TestDeepLinkButton } from './TestDeepLinkButton.svelte' +export { default as AllotManaButton } from './AllotManaButton.svelte' diff --git a/packages/desktop/components/popups/AllotManaPopup.svelte b/packages/desktop/components/popups/AllotManaPopup.svelte new file mode 100644 index 00000000000..9d5151fa14c --- /dev/null +++ b/packages/desktop/components/popups/AllotManaPopup.svelte @@ -0,0 +1,145 @@ + + + + + {localize('popups.allotMana.title')} + +
+
+
+ + + +
+ + + + +
+
+
diff --git a/packages/desktop/components/popups/Popup.svelte b/packages/desktop/components/popups/Popup.svelte index 14d0d944b97..21ffbea317b 100644 --- a/packages/desktop/components/popups/Popup.svelte +++ b/packages/desktop/components/popups/Popup.svelte @@ -8,6 +8,7 @@ import { clickOutside } from '@core/utils/ui' // Popups + import AllotManaPopup from './AllotManaPopup.svelte' import WalletSwitcherPopup from './WalletSwitcherPopup.svelte' import ActivityDetailsPopup from './ActivityDetailsPopup.svelte' import AddNodePopup from './AddNodePopup.svelte' @@ -101,6 +102,7 @@ let popupContent const POPUP_MAP: PopupComponentMap = { + [PopupId.AllotMana]: AllotManaPopup, [PopupId.WalletSwitcher]: WalletSwitcherPopup, [PopupId.ActivityDetails]: ActivityDetailsPopup, [PopupId.AddNode]: AddNodePopup, diff --git a/packages/desktop/features/developer-tools.features.ts b/packages/desktop/features/developer-tools.features.ts index 4dc178a0945..d39dc3dc322 100644 --- a/packages/desktop/features/developer-tools.features.ts +++ b/packages/desktop/features/developer-tools.features.ts @@ -20,6 +20,9 @@ const developerToolsFeatures: IDeveloperFeatures = { deeplink: { enabled: false, }, + allotMana: { + enabled: true, + }, } export default developerToolsFeatures diff --git a/packages/desktop/views/dashboard/developer/Developer.svelte b/packages/desktop/views/dashboard/developer/Developer.svelte index 645a86b2466..071d6cd59a1 100644 --- a/packages/desktop/views/dashboard/developer/Developer.svelte +++ b/packages/desktop/views/dashboard/developer/Developer.svelte @@ -1,5 +1,6 @@