feat(client/debug): Phone restart command (#145)

Trigger a UI restart by entering the command `phone:restart` in the F8 console.
This commit is contained in:
Taso authored and GitHub committed 2021-03-06 10:38:10 -05:00
1 parent 531a341ffd
commit 605f957f9a
3 files changed
+53 -11

No files matched your search

+2
View File
@@ -28,6 +28,7 @@ import { usePhoneVisibility } from './os/phone/hooks/usePhoneVisibility';
import { Snackbar } from './ui/components/Snackbar';
import { NotificationAlert } from './os/notifications/components/NotificationAlert';
import { useCallModal } from './os/call/hooks/useCallModal';
import WindowSnackbar from './ui/components/WindowSnackbar';
function Phone() {
const { apps } = useApps();
@@ -53,6 +54,7 @@ function Phone() {
return (
<div>
<WindowSnackbar />
<Slide direction="up" timeout={{ enter: 500, exit: 500 }} in={visibility}>
<div className="PhoneWrapper">
<div