[Update] Main Page: Message Logs: Add message log settings. and add tot visible resend or not toggle.

This commit is contained in:
Sakamoto Shiina
2024-11-30 04:33:38 +09:00
parent 2d5d148f17
commit 7df1eb04d0
15 changed files with 238 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
export { useIsVisibleResendButton } from "./useIsVisibleResendButton";
export { useIsMainPageCompactMode } from "./useIsMainPageCompactMode";
export { useLanguageSettings } from "./useLanguageSettings";
export { useMainFunction } from "./useMainFunction";

View File

@@ -0,0 +1,15 @@
import { useStore_IsVisibleResendButton } from "@store";
export const useIsVisibleResendButton = () => {
const { currentIsVisibleResendButton, updateIsVisibleResendButton } = useStore_IsVisibleResendButton();
const toggleIsVisibleResendButton = () => {
updateIsVisibleResendButton(!currentIsVisibleResendButton.data);
};
return {
currentIsVisibleResendButton,
toggleIsVisibleResendButton,
updateIsVisibleResendButton,
};
};