diff --git a/phone/src/Phone.tsx b/phone/src/Phone.tsx index 14d54b9..e845ee0 100644 --- a/phone/src/Phone.tsx +++ b/phone/src/Phone.tsx @@ -34,6 +34,43 @@ import { useDialService } from './apps/dialer/hooks/useDialService'; import InjectDebugData from './os/debug/InjectDebugData'; InjectDebugData([ + { + app: 'PHONE', + method: 'phoneConfig', + data: { + Locale: 'en', + KeyTogglePhone: 288, + KeyTakeCall: 38, + PhoneAsItem: false, + SwimDestroy: false, + RunRate: 10, + DestoryChance: 100, + DestroyPhoneReCheck: 3, + notificationPosition: { + horizontal: 'right', + vertical: 'top', + }, + general: { + useDashNumber: true, + }, + twitter: { + showNotifications: true, + generateProfileNameFromUsers: true, + allowEdtiableProfileName: true, + allowDeleteTweets: true, + allowReportTweets: true, + characterLimit: 160, + newLineLimit: 10, + enableAvatars: true, + enableEmojis: true, + enableImages: true, + maxImages: 3, + }, + bank: { + showNotifications: true, + }, + }, + }, { app: 'PHONE', method: 'setVisibility', diff --git a/phone/src/apps/twitter/components/TwitterApp.tsx b/phone/src/apps/twitter/components/TwitterApp.tsx index 01abd57..446ef13 100644 --- a/phone/src/apps/twitter/components/TwitterApp.tsx +++ b/phone/src/apps/twitter/components/TwitterApp.tsx @@ -21,6 +21,64 @@ import { useProfile } from '../hooks/useProfile'; import ProfilePrompt from './profile/ProfilePrompt'; import InjectDebugData from '../../../os/debug/InjectDebugData'; +InjectDebugData([ + { + app: 'TWITTER', + method: 'getOrCreateTwitterProfile', + data: { + profile_name: 'Angular_Dev', + bio: 'Angular FTW', + job: 'Googler @ Google', + location: '1600 Amphitheatre Parkway, CA, USA', + avatar_url: 'https://i.tasoagc.dev/i9Ig', + }, + }, + { + app: 'TWITTER', + method: 'fetchTweets', + data: [ + { + id: 2, + message: 'GCPhone will never die', + avatar_url: 'http://i.tasoagc.dev/jtKL', + seconds_since_tweet: 500, + isMine: false, + updateAt: '2021-02-08 14:37:46', + visible: 1, + likes: 50000, + profile_name: 'GCPhone_v9999', + images: 'http://i.tasoagc.dev/0xdp', + }, + { + id: 1, + message: 'I love angular', + avatar_url: 'https://i.tasoagc.dev/i9Ig', + seconds_since_tweet: 800, + isMine: true, + updateAt: '2021-02-08 14:37:46', + visible: 1, + likes: 50000, + profile_name: 'Angular_Dev', + images: 'http://i.tasoagc.dev/i9Ig', + }, + { + id: 3, + message: + 'Anyways uhm... I bought a whole bunch of shungite, rocks, ' + + 'do you know what shungite is? Anybody know what shungite is. No, no ' + + 'Suge Knight, I think hes locked up in prison.', + avatar_url: 'http://i.tasoagc.dev/0v64', + seconds_since_tweet: 800, + isMine: true, + updateAt: '2021-02-08 14:37:46', + visible: 1, + likes: 50000, + profile_name: 'The_Doc', + }, + ], + }, +]); + const useStyles = makeStyles(() => ({ backgroundModal: { background: 'black',