[Refactor] Move the code that is related with Send Message Button Type. (It was remained at Others section but it should've move to Appearance section so.)

This commit is contained in:
Sakamoto Shiina
2025-06-15 18:11:07 +09:00
parent d96c9a5151
commit cbfce55c16
6 changed files with 30 additions and 54 deletions

View File

@@ -10,9 +10,9 @@ export const useSendMessageButtonType = () => {
asyncStdoutToPython("/get/data/send_message_button_type");
};
const setSendMessageButtonType = (selected_type) => {
const setSendMessageButtonType = (send_message_button_type) => {
pendingSendMessageButtonType();
asyncStdoutToPython("/set/data/send_message_button_type", selected_type);
asyncStdoutToPython("/set/data/send_message_button_type", send_message_button_type);
};
return {