mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
cleanup(phone/gen): Added NUI event enums for phone events
This commit is contained in:
1 parent
e6deff23da
commit
9610891a04
7 files changed
+29
-18
No files matched your search
+3
-2
@@ -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,
|
||||
},
|
||||
]);
|
||||
Reference in new issue
Block a user