mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
improvemet: bank
This commit is contained in:
1 parent
ad3cd5f19a
commit
a0444019cf
2 files changed
+53
-10
No files matched your search
@@ -19,6 +19,7 @@ import { useApps } from "./os/apps/hooks/useApps";
|
||||
import { useContactsService } from "./apps/contacts/hooks/useContactsService";
|
||||
import { useTwitterService } from "./apps/twitter/hooks/useTwitterService";
|
||||
import { useSelloutService } from "./apps/sellout/hooks/useSelloutService";
|
||||
import { useBankService } from './apps/bank/hooks/useBankService';
|
||||
|
||||
//These events are just for testing. Comment it out before building.
|
||||
setTimeout(() => {
|
||||
@@ -33,6 +34,24 @@ setTimeout(() => {
|
||||
);
|
||||
}, 1000);
|
||||
|
||||
setTimeout(() => {
|
||||
window.dispatchEvent(
|
||||
new MessageEvent("message", {
|
||||
data: {
|
||||
app: 'BANK',
|
||||
method: 'setTransaction',
|
||||
data: [
|
||||
{
|
||||
id: 1,
|
||||
amount: 200,
|
||||
type: 'transfer'
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
)
|
||||
})
|
||||
|
||||
setTimeout(() => {
|
||||
window.dispatchEvent(
|
||||
new MessageEvent("message", {
|
||||
@@ -116,6 +135,7 @@ function Phone() {
|
||||
useTwitterService();
|
||||
useInitKeyboard();
|
||||
useSelloutService();
|
||||
useBankService();
|
||||
|
||||
if (visibility === false) {
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user