1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Remove junk from previous ticket

This commit is contained in:
Zachary Belford 2022-06-02 16:10:36 -07:00
parent 9c8b22a20b
commit 5e049aabff
No known key found for this signature in database
GPG Key ID: CC6C9E5B7B8D6059
7 changed files with 18 additions and 58 deletions

View File

@ -4,7 +4,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1 user-scalable=no">
<title>MetaMask</title>
<link rel="stylesheet" type="text/css" href="./index.css" title="ltr">
<link rel="stylesheet" type="text/css" href="./index-rtl.css" title="rtl" disabled>
</head>

View File

@ -1,26 +1,13 @@
<!doctype html>
<html data-theme="dark">
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<title>MetaMask Notification</title>
<link rel="stylesheet" type="text/css" href="./index.css" title="ltr">
<link rel="stylesheet" type="text/css" href="./index-rtl.css" title="rtl" disabled>
<style>
@media (prefers-color-scheme: dark) {
#app-content {
display: flex;
flex-flow: column;
background-color: var(--brand-colors-grey-grey800) !important;
}
}
@media (prefers-color-scheme: light) {
#app-content {
display: flex;
flex-flow: column;
background-color: var(--color-background-default) !important;
}
#app-content {
display: flex;
flex-flow: column;
}
#loading__logo {
@ -37,6 +24,8 @@
margin-top: 1rem;
}
</style>
<link rel="stylesheet" type="text/css" href="./index.css" title="ltr">
<link rel="stylesheet" type="text/css" href="./index-rtl.css" title="rtl" disabled>
</head>
<body class="notification">
<div id="app-content">

View File

@ -6,26 +6,6 @@
<title>MetaMask</title>
<link rel="stylesheet" type="text/css" href="./index.css" title="ltr">
<link rel="stylesheet" type="text/css" href="./index-rtl.css" title="rtl" disabled>
<style>
#app-content {
display: flex;
flex-flow: column;
}
#loading__logo {
width: 10rem;
height: 10rem;
align-self: center;
margin: 10rem 0 0 0;
}
#loading__spinner {
width: 2rem;
height: 2rem;
align-self: center;
margin-top: 1rem;
}
</style>
</head>
<body style="width:357px; height:600px;">
<div id="app-content">

View File

@ -291,7 +291,6 @@ async function loadStateFromPersistence() {
});
}
debugger;
// return just the data
return versionedData.data;
}

View File

@ -1,9 +1,5 @@
import setupSentry from './lib/setupSentry';
setInterval(() => {
console.log(window.localStorage);
}, 2000);
// setup sentry error reporting
global.sentry = setupSentry({
release: process.env.METAMASK_VERSION,

View File

@ -24,20 +24,18 @@ export default function LoadingHeartBeat({
return null;
}
return (<div>nippity do da</div>);
// return (
// <div
// className={classNames('loading-heartbeat', {
// [LOADING_CLASS]: active,
// })}
// onClick={(e) => {
// e.preventDefault();
// e.stopPropagation();
// }}
// style={{ backgroundColor }}
// ></div>
// );
return (
<div
className={classNames('loading-heartbeat', {
[LOADING_CLASS]: active,
})}
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
}}
style={{ backgroundColor }}
></div>
);
}
LoadingHeartBeat.propTypes = {

View File

@ -41,7 +41,6 @@ export default function NativeAsset({ nativeCurrency }) {
isEthNetwork={!rpcPrefs.blockExplorerUrl}
optionsButton={
<AssetOptions
onRemove={() => {}}
isNativeAsset
onClickBlockExplorer={() => {
trackEvent({