Skip to content

Commit 8ce126f

Browse files
ZGiovasmartinkaintas
authored andcommitted
feat: hide menu actions
1 parent 650f7d4 commit 8ce126f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/popup/components/Modals/BrowserActions.vue

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@
1313
:icon="RefreshIcon"
1414
@click="refreshIframeContent"
1515
/>
16-
16+
<!-- TODO: define share action -->
1717
<BrowserActionItem
18+
v-if="false"
1819
:title="$t('dappActionBrowser.bookmark.title')"
1920
:info="$t('dappActionBrowser.bookmark.description')"
2021
:icon="FavoriteIcon"
2122
/>
2223
<BrowserActionItem
24+
v-if="IS_MOBILE_DEVICE"
2325
:title="$t('dappActionBrowser.share.title')"
2426
:info="$t('dappActionBrowser.share.description')"
2527
:icon="ShareIcon"
@@ -40,6 +42,7 @@
4042
<script lang="ts">
4143
import { defineComponent, PropType } from 'vue';
4244
import { useStore } from 'vuex';
45+
import { IS_MOBILE_DEVICE } from '@/constants';
4346
import type { RejectCallback, ResolveCallback } from '../../../types';
4447
import Modal from '../Modal.vue';
4548
import BtnMain from '../buttons/BtnMain.vue';
@@ -79,6 +82,7 @@ export default defineComponent({
7982
RefreshIcon,
8083
ShareIcon,
8184
FavoriteIcon,
85+
IS_MOBILE_DEVICE,
8286
};
8387
},
8488
});

0 commit comments

Comments
 (0)