From c23099e2544585d0d4e784a0bef2eccb5d14761f Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Mon, 8 Apr 2019 09:00:23 +0200 Subject: [PATCH] Refactor notification --- app/src/components/Layout/Notification.tsx | 4 ++-- app/src/components/Layout/PauseButton.tsx | 16 ---------------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/app/src/components/Layout/Notification.tsx b/app/src/components/Layout/Notification.tsx index b0a99ae..9de3751 100644 --- a/app/src/components/Layout/Notification.tsx +++ b/app/src/components/Layout/Notification.tsx @@ -22,7 +22,7 @@ class Notification extends React.Component { color: theme.typography.button.color, }, error: { - backgroundColor: red[600], + backgroundColor: theme.palette.error.main, color: theme.typography.button.color, }, }) @@ -37,7 +37,7 @@ class Notification extends React.Component { { this.state = { changes: 0 } } - private renderResume() { - return ( - - - - ) - } - - private renderPause() { - return ( - - - - ) - } - private renderBufferStats() { if (!this.props.tree) { return