From dfb64208bb2e3614f4d3cf66a1834e3caf92c961 Mon Sep 17 00:00:00 2001 From: Sean Boult <996134+Hacksore@users.noreply.github.com> Date: Tue, 2 Jul 2024 19:39:40 -0500 Subject: [PATCH] Add quit buttons --- apps/desktop/src/styles.css | 2 +- apps/desktop/src/views/error.tsx | 13 +++++++++++-- apps/desktop/src/views/main.tsx | 25 ++++++++++++++++++------- 3 files changed, 30 insertions(+), 10 deletions(-) diff --git a/apps/desktop/src/styles.css b/apps/desktop/src/styles.css index d78aa543..4c1bacaf 100644 --- a/apps/desktop/src/styles.css +++ b/apps/desktop/src/styles.css @@ -89,7 +89,7 @@ } ul { - list-style: circle; + list-style: inside; } .nice-scroll::-webkit-scrollbar { diff --git a/apps/desktop/src/views/error.tsx b/apps/desktop/src/views/error.tsx index 3949a6a7..26560646 100644 --- a/apps/desktop/src/views/error.tsx +++ b/apps/desktop/src/views/error.tsx @@ -2,6 +2,7 @@ import { Link } from "react-router-dom"; import { Button } from "@/components/ui/button"; import { useSetWindowSize } from "../hooks/use-set-size"; import { useAppStore } from "../store"; +import { exit } from "@tauri-apps/api/process"; export const ErrorView = () => { useSetWindowSize({ width: 400, height: 600 }); @@ -26,10 +27,18 @@ export const ErrorView = () => {
Please try restarting discord then try again
)} -Authorize Discord
-Overlayed is not affiliated with Discord. Discord is a trademark of Discord Inc.
-+ Overlayed is not affiliated with Discord. Discord is a trademark of Discord Inc. +
Discord should have opened a popup
Click "Authorize" within discord
+Click "Authorize" within Discord
Join a voice channel
Enjoy 🥳
+