Skip to content

Commit 721afae

Browse files
author
Denis Khvostov
committed
refactor; update hardcoded BTC price to 7500
1 parent 400b9ed commit 721afae

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

app/sources/src/background.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,24 @@ window.chrome.webRequest.onCompleted.addListener(
8888
{ urls: ['http://*/*', 'https://*/*'] },
8989
);
9090

91+
// window.chrome.tabs.onUpdated.addListener(tabId => {
92+
// window.chrome.permissions.contains(
93+
// {
94+
// origins: ['http://*/*', 'https://*/*'],
95+
// },
96+
// granted => {
97+
// if (granted) {
98+
// if (tabId >= 0) {
99+
// window.chrome.tabs.executeScript(tabId, {
100+
// file: 'content.js',
101+
// allFrames: true,
102+
// });
103+
// }
104+
// }
105+
// },
106+
// );
107+
// });
108+
91109
const getClipboardData = () => {
92110
const clipBoardInput = document.createElement('input');
93111
clipBoardInput.style = 'position: absolute;';

app/sources/src/stores/denominations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const denominations = {
2323
default: {
2424
BTC: {
2525
USD: {
26-
price: 4999,
26+
price: 7500,
2727
sign: 'USD',
2828
precision: 2,
2929
precisionMax: 5,

0 commit comments

Comments
 (0)