mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
chore(phone/twitter): Allow for use of Twitter in browser
This commit is contained in:
1 parent
9dd47a2a43
commit
5d3fad36f7
2 files changed
+95
No files matched your search
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user