cleanup imports and styles

This commit is contained in:
hippoz 2023-08-08 15:48:13 +03:00
parent 24e9af17d2
commit 0f6a88ac36
Signed by: hippoz
GPG key ID: 56C4E02A85F2FBED
6 changed files with 4 additions and 7 deletions

View file

@ -1,5 +1,4 @@
<script>
import { getErrorFromResponse, methods, remoteBlobUpload, responseOk } from "../request";
import { avatarUrl } from "../storage";
import { overlayStore, OverlayType, setMessageInputEvent } from "../stores";
import MessageAttachment from "./MessageAttachment.svelte";

View file

@ -1,7 +1,7 @@
<script>
import { onDestroy, onMount } from "svelte";
import { getItem } from "../storage";
import { messagesStoreProvider, overlayStore, selectedChannel, sendMessageAction, setMessageInputEvent, smallViewport, typingStore, userInfoStore, usesKeyboardNavigation } from "../stores";
import { messagesStoreProvider, overlayStore, setMessageInputEvent, smallViewport, typingStore, userInfoStore, usesKeyboardNavigation } from "../stores";
import { getErrorFromResponse, methods, remoteBlobUpload, remoteCall, responseOk } from "../request";
export let channel;

View file

@ -2,9 +2,7 @@
import { quadInOut } from "svelte/easing";
import { maybeFly, maybeFlyIf } from "../animations";
import { avatarUrl } from "../storage";
import { channels, gatewayStatus, overlayStore, selectedChannel, showSidebar, smallViewport, userInfoStore, unreadStore, OverlayType, communities, selectedCommunity, filteredChannelsStore } from "../stores";
import AddCommunity from "./overlays/AddCommunity.svelte";
import UserView from "./UserView.svelte";
import { gatewayStatus, overlayStore, selectedChannel, showSidebar, smallViewport, userInfoStore, unreadStore, OverlayType, communities, selectedCommunity, filteredChannelsStore } from "../stores";
const selectChannel = (channel) => {
if ($smallViewport) {

View file

@ -8,7 +8,7 @@
width: 52px;
height: 26px;
border-radius: 999px;
margin: 4px;
margin: 2px;
background-color: var(--background-color-3);
transition: 0.15s;
contain: strict;

View file

@ -1,7 +1,6 @@
<script>
import { overlayStore, userInfoStore, smallViewport, theme, doAnimations, OverlayType, sendTypingUpdatesItemStore } from "../../stores";
import { logOut } from "../../auth";
import { maybeModalFade, maybeModalScale } from "../../animations";
import request, { getErrorFromResponse, methods, remoteBlobUpload, responseOk } from "../../request";
import { apiRoute, getItem } from "../../storage";
import UserView from "../UserView.svelte";

View file

@ -383,6 +383,7 @@ body {
text-align: center;
border: none;
border-radius: var(--radius-md);
text-decoration: none;
}
.icon-button .material-icons,