[Refactor] Remove the codes that is no longer in use and organize a bit.

This commit is contained in:
Sakamoto Shiina
2024-10-13 07:11:47 +09:00
parent 743e73b9ed
commit d7cf2425a1
5 changed files with 24 additions and 98 deletions

View File

@@ -34,7 +34,6 @@ import {
useUiScaling,
useMessageLogUiScaling,
useTransparency,
// useRestoreWindowGeometry,
} from "@logics_configs";
export const useReceiveRoutes = () => {
@@ -85,8 +84,6 @@ export const useReceiveRoutes = () => {
const { updateMessageInputBoxRatio } = useMessageInputBoxRatio();
const { updateSelectedFontFamily } = useSelectedFontFamily();
const { updateTransparency } = useTransparency();
// const { updateRestoreWindowGeometry } = useRestoreWindowGeometry();
const routes = {
// Common
@@ -230,10 +227,6 @@ export const useReceiveRoutes = () => {
"/get/data/transparency": updateTransparency,
"/set/data/transparency": updateTransparency,
// "/get/data/restore_main_window_geometry": updateRestoreWindowGeometry,
// "/set/enable/restore_main_window_geometry": updateRestoreWindowGeometry,
// "/set/disable/restore_main_window_geometry": updateRestoreWindowGeometry,
// Others Tab
"/get/data/auto_clear_message_box": updateEnableAutoClearMessageBox,
"/set/enable/auto_clear_message_box": updateEnableAutoClearMessageBox,