cleanup(phone/gen): Added NUI event enums for phone events

This commit is contained in:
Taso committed 2021-04-01 13:42:48 -04:00
1 parent e6deff23da
commit 9610891a04
7 files changed
+29 -18

No files matched your search

+3 -2
View File
@@ -33,6 +33,7 @@ import WindowSnackbar from './ui/components/WindowSnackbar';
import { usePhone } from './os/phone/hooks/usePhone';
import { useTranslation } from 'react-i18next';
import { useSnackbar } from './ui/hooks/useSnackbar';
import { PhoneEvents } from '../../typings/phone';
function Phone() {
const { t, i18n } = useTranslation();
@@ -154,12 +155,12 @@ export default Phone;
InjectDebugData([
{
app: 'PHONE',
method: 'setVisibility',
method: PhoneEvents.SET_VISIBILITY,
data: true,
},
{
app: 'PHONE',
method: 'setPhoneReady',
method: PhoneEvents.SET_PHONE_READY,
data: true,
},
]);