mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Fiz(AppContent): Scroll fix
This commit is contained in:
1 parent
0300dc53d8
commit
c78eba04c9
3 files changed
+109
-53
No files matched your search
+84
-41
@@ -18,49 +18,92 @@ import { useApps } from "./os/apps/hooks/useApps";
|
||||
|
||||
import { useContactsService } from "./apps/contacts/hooks/useContactsService";
|
||||
|
||||
// @TODO: Remove this testing shit
|
||||
// Used for testing NUI events while we work on clientside
|
||||
//setTimeout(() => {
|
||||
// window.dispatchEvent(
|
||||
// new MessageEvent("message", {
|
||||
// data: {
|
||||
// app: "SIMCARD",
|
||||
// method: "setNumber",
|
||||
// data: "111-1134",
|
||||
// },
|
||||
// })
|
||||
// );
|
||||
//}, 1000);
|
||||
setTimeout(() => {
|
||||
window.dispatchEvent(
|
||||
new MessageEvent("message", {
|
||||
data: {
|
||||
app: "SIMCARD",
|
||||
method: "setNumber",
|
||||
data: "111-1134",
|
||||
},
|
||||
})
|
||||
);
|
||||
}, 1000);
|
||||
|
||||
//setTimeout(() => {
|
||||
// window.dispatchEvent(
|
||||
// new MessageEvent("message", {
|
||||
// data: {
|
||||
// app: "BANK",
|
||||
// method: "setContacts",
|
||||
// data: [
|
||||
// {
|
||||
// id: 1,
|
||||
// number: '345-4366',
|
||||
// display: 'Kevin'
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// })
|
||||
// );
|
||||
//}, 1000);
|
||||
setTimeout(() => {
|
||||
window.dispatchEvent(
|
||||
new MessageEvent("message", {
|
||||
data: {
|
||||
app: "BANK",
|
||||
method: "setContacts",
|
||||
data: [
|
||||
{
|
||||
id: 1,
|
||||
number: "345-4366",
|
||||
display: "Kevin",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
number: "345-4366",
|
||||
display: "Kevin",
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
number: "345-4366",
|
||||
display: "Kevin",
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
number: "345-4366",
|
||||
display: "Kevin",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
number: "345-4366",
|
||||
display: "Kevin",
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
number: "345-4366",
|
||||
display: "Kevin",
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
number: "345-4366",
|
||||
display: "Kevin",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
number: "345-4366",
|
||||
display: "Kevin",
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
number: "345-4366",
|
||||
display: "Kevin",
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
number: "345-4366",
|
||||
display: "Kevin",
|
||||
},
|
||||
],
|
||||
},
|
||||
})
|
||||
);
|
||||
}, 1000);
|
||||
|
||||
//setTimeout(() => {
|
||||
// window.dispatchEvent(
|
||||
// new MessageEvent("message", {
|
||||
// data: {
|
||||
// app: "PHONE",
|
||||
// method: "setVisibility",
|
||||
// data: true,
|
||||
// },
|
||||
// })
|
||||
// );
|
||||
//}, 1000);
|
||||
setTimeout(() => {
|
||||
window.dispatchEvent(
|
||||
new MessageEvent("message", {
|
||||
data: {
|
||||
app: "PHONE",
|
||||
method: "setVisibility",
|
||||
data: true,
|
||||
},
|
||||
})
|
||||
);
|
||||
}, 1000);
|
||||
|
||||
function Phone() {
|
||||
useNuiService();
|
||||
|
||||
Reference in new issue
Block a user