Fix swipes and thumbnails for groups

This commit is contained in:
SillyLossy
2023-03-27 20:00:14 +03:00
parent d18f005268
commit b3d992baee
2 changed files with 9 additions and 2 deletions

View File

@@ -33,6 +33,8 @@ import {
setRightTabSelectedClass,
default_ch_mes,
deleteLastMessage,
showSwipeButtons,
hideSwipeButtons,
} from "../script.js";
export {
@@ -267,6 +269,7 @@ async function generateGroupWrapper(by_auto_mode, type=null) {
}
try {
hideSwipeButtons();
is_group_generating = true;
setCharacterName('');
setCharacterId(undefined);
@@ -339,6 +342,7 @@ async function generateGroupWrapper(by_auto_mode, type=null) {
setSendButtonState(false);
setCharacterId(undefined);
setCharacterName('');
showSwipeButtons();
}
}