mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Merge branch 'master' into feature/messages
This commit is contained in:
7 files changed
+82
-1
No files matched your search
@@ -22,6 +22,7 @@ import { useSelloutService } from "./apps/sellout/hooks/useSelloutService";
|
||||
import { useBankService } from './apps/bank/hooks/useBankService';
|
||||
import { useMessagesService } from "./apps/messages/hooks/useMessageService";
|
||||
import { useNotesService } from "./apps/notes/hooks/useNotesService";
|
||||
import Nui from "./os/nui-events/utils/Nui";
|
||||
|
||||
//These events are just for testing. Comment it out before building.
|
||||
setTimeout(() => {
|
||||
@@ -242,6 +243,12 @@ function Phone() {
|
||||
|
||||
const calling = false;
|
||||
|
||||
document.onkeyup = function(data) {
|
||||
if (data.which == 27) {
|
||||
Nui.send("phone:close");
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<ThemeProvider theme={currentTheme()}>
|
||||
<div className="PhoneWrapper">
|
||||
|
||||
@@ -11,6 +11,10 @@ interface TwitterConfig {
|
||||
maxImages: number;
|
||||
}
|
||||
|
||||
interface General {
|
||||
useDashNumber: boolean;
|
||||
}
|
||||
|
||||
interface NotificationConfig {
|
||||
horizontal: "left" | "center" | "right";
|
||||
vertical: "bottom" | "top";
|
||||
@@ -32,4 +36,5 @@ export interface ServerConfig {
|
||||
twitter: TwitterConfig;
|
||||
bank: BankConfig;
|
||||
notificationPosition: NotificationConfig;
|
||||
general: General;
|
||||
}
|
||||
Reference in new issue
Block a user