feat(ui): add text selection handling in APIConfigSection and LiveStreamSection components, settings remote input can save

This commit is contained in:
James Chen
2025-09-02 09:54:58 +08:00
parent 0d9f552ede
commit 7af9bf2b4c
3 changed files with 58 additions and 6 deletions

View File

@@ -51,6 +51,7 @@ export default function SettingsScreen() {
const realMessage = lastMessage.split("_")[0];
handleRemoteInput(realMessage);
clearMessage(); // Clear the message after processing
markAsChanged();
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [lastMessage, targetPage]);