Merge branch 'master' into feature/messages

This commit is contained in:
Christopher Gjelten authored and GitHub committed 2020-12-10 19:07:32 +01:00
commit fb0ec3845a
7 files changed
+82 -1

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
build
node_modules
+10
View File
@@ -0,0 +1,10 @@
// Taso: Including some default values for clarity sake
module.exports = {
trailingComma: "es5",
tabWidth: 2,
semi: true,
singleQuote: true,
jsxSingleQuote: true,
jsxBracketSameLine: false,
bracketSpacing: true
}
+7
View File
@@ -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">
+5
View File
@@ -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;
}