Add calling and notification sounds (#119)

* Add calling and notification sounds

* Fix notification visibility on any resolution

* Add comments

* Log howler error src

* Revert removed files im stupid

* Make sliders on settings use changeCommitted instead of onChange

* Fix ringtone paths

* Break alert words overflow

* Fix tweet overflow pepega

* Remove unused hook

* Update volume sliders in real time

* Fix resolution notifications

* Fix initial value for vol sliders

* Fix call duration timer bugs

* Add alert when phone active and phone closes

* keep notification

* Stop ringing when accept
This commit is contained in:
J Francisco Rader authored and GitHub committed 2021-03-01 17:22:58 -05:00
1 parent 8ecb91e71f
commit 4eda44b9c2
28 files changed
+589 -142

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import React from 'react';
import { fade, makeStyles, Theme } from '@material-ui/core/styles';
import { darken, makeStyles, Theme } from '@material-ui/core/styles';
import Avatar from '@material-ui/core/Avatar';
import { green } from '@material-ui/core/colors';
import { Badge, Button, Tooltip, Zoom } from '@material-ui/core';
@@ -13,7 +13,7 @@ const useStyles = makeStyles<Theme, { color: string; backgroundColor: string }>(
},
avatar: {
'&:hover': {
backgroundColor: ({ backgroundColor }) => fade(backgroundColor, 0.6),
backgroundColor: ({ backgroundColor }) => darken(backgroundColor, 0.1),
},
backgroundColor: ({ backgroundColor }) => backgroundColor,
color: ({ color }) => color,