Skip to content

Commit

Permalink
devop: disable hw support for safari
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Oct 24, 2024
1 parent f78205f commit 7fde905
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enkryptcom/extension",
"version": "1.45.1",
"version": "1.45.2",
"private": true,
"scripts": {
"zip": "cd dist; zip -r release.zip *;",
Expand Down
17 changes: 12 additions & 5 deletions packages/extension/src/ui/action/views/accounts/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
/>

<a
v-if="hwWallet.isNetworkSupported(network.name)"
v-if="
hwWallet.isNetworkSupported(network.name) && isBrowserHWSupported
"
class="accounts__action-button hardware"
@click="openHardware(network.name)"
>
Expand Down Expand Up @@ -149,7 +151,7 @@ const props = defineProps({
});
const accountToRename = ref<EnkryptAccount>();
const accountToDelete = ref<EnkryptAccount>();
const isBrowserHWSupported = !(process.env.IS_FIREFOX || process.env.IS_SAFARI);
const close = () => {
props.toggle();
};
Expand Down Expand Up @@ -241,7 +243,8 @@ const closeImportAccount = () => {
left: 348px;
top: 50px;
background: #ffffff;
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.039),
box-shadow:
0px 3px 6px rgba(0, 0, 0, 0.039),
0px 7px 24px rgba(0, 0, 0, 0.19);
border-radius: 12px;
z-index: 107;
Expand All @@ -250,7 +253,9 @@ const closeImportAccount = () => {
box-sizing: border-box;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s, visibility 0s ease-in-out 0.3s;
transition:
opacity 0.3s,
visibility 0s ease-in-out 0.3s;
padding-bottom: 153px;
&.show {
Expand Down Expand Up @@ -293,7 +298,9 @@ const closeImportAccount = () => {
bottom: 0px;
width: 100%;
background: @white;
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.05), 0px 0px 1px rgba(0, 0, 0, 0.25);
box-shadow:
0px 0px 6px rgba(0, 0, 0, 0.05),
0px 0px 1px rgba(0, 0, 0, 0.25);
position: absolute;
padding: 8px;
box-sizing: border-box;
Expand Down

0 comments on commit 7fde905

Please sign in to comment.