From 5d025bb3e9d4942374b8815817e73e42cff86421 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Fri, 3 Oct 2025 18:48:18 -0700 Subject: [PATCH] Revert "Make windows and macos have the same window style" This reverts commit 6c21759705f5ede0a03e426075d2b0caaf3965cd. --- src-tauri/tauri.macos.conf.json | 2 +- src/app/componets/Sidebar.tsx | 18 ++++++++++++++++++ src/app/layout.tsx | 23 +---------------------- 3 files changed, 20 insertions(+), 23 deletions(-) diff --git a/src-tauri/tauri.macos.conf.json b/src-tauri/tauri.macos.conf.json index 2394c5a..1c83dc7 100644 --- a/src-tauri/tauri.macos.conf.json +++ b/src-tauri/tauri.macos.conf.json @@ -15,7 +15,7 @@ { "title": "Berry Dash Launcher", "width": 1000, - "height": 632, + "height": 600, "resizable": false, "maximizable": false, "titleBarStyle": "Overlay", diff --git a/src/app/componets/Sidebar.tsx b/src/app/componets/Sidebar.tsx index d8c32d9..8e88a0d 100644 --- a/src/app/componets/Sidebar.tsx +++ b/src/app/componets/Sidebar.tsx @@ -13,6 +13,7 @@ import { import { faDiscord } from '@fortawesome/free-brands-svg-icons' import { useState } from 'react' import { platform } from '@tauri-apps/plugin-os' +import { getCurrentWindow } from '@tauri-apps/api/window' import { useGlobal } from '../GlobalProvider' import Image from 'next/image' import Link from 'next/link' @@ -27,6 +28,23 @@ export default function Sidebar () { return (