[Refactor] Remove the codes that is no longer in use and organize a bit.
This commit is contained in:
1 parent
743e73b9ed
commit
d7cf2425a1
5 files changed
+24
-98
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user