cleanup, improve ui
This commit is contained in:
Vendored
-1
@@ -126,7 +126,6 @@ main {
|
||||
}
|
||||
[color]:not([color=standard])[selected].fill-color {
|
||||
color: var(--primary);
|
||||
background-color: var(--surface);
|
||||
}
|
||||
[color]:not([color=standard]).subtle-background {
|
||||
--luma: var(--subtle-luma);
|
||||
|
||||
@@ -5,6 +5,7 @@ import StorageModel, { storageKeys } from "./storageModel";
|
||||
import ChatListModel from "./chatListModel";
|
||||
import { Color } from "../ViewModel/colors";
|
||||
import ConnectionModel from "./connectionModel";
|
||||
import { Message } from "udn-frontend";
|
||||
import SettingsModel from "./settingsModel";
|
||||
import { checkIsValidObject } from "./Utility/typeSafety";
|
||||
import { createTimestamp } from "./Utility/utility";
|
||||
|
||||
@@ -45,8 +45,6 @@ export default class ConnectionViewModel {
|
||||
}
|
||||
};
|
||||
|
||||
messageHandler = (data: Message): void => {};
|
||||
|
||||
// methods
|
||||
connect = (): void => {
|
||||
this.connectToAddress(this.serverAddressInput.value);
|
||||
@@ -85,6 +83,5 @@ export default class ConnectionViewModel {
|
||||
this.updatePreviousAddresses();
|
||||
|
||||
connectionModel.setConnectionChangeHandler(this.connectionChangeHandler);
|
||||
connectionModel.setMessageHandler(this.messageHandler);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
|
||||
[color]:not([color="standard"])[selected].fill-color {
|
||||
color: var(--primary);
|
||||
background-color: var(--surface);
|
||||
}
|
||||
|
||||
/* subtle */
|
||||
|
||||
Reference in New Issue
Block a user