Skip to content

Commit

Permalink
Merge branch 'dev' into early
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Feb 9, 2024
2 parents 91fb2e6 + f534c83 commit ea8d07f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/renderer/pages/AndroidEndPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ function AndroidEndPage() {
messagePercent = messagePercent.replaceAll('\n\r', '');
messagePercent = messagePercent.replaceAll('\r', '');
setMsg({ message: messageText, percentage: messagePercent });
if (messageText.includes('100')) {
setStatePage({ ...statePage, disabledNext: false });
}
});
};

Expand Down Expand Up @@ -125,11 +128,7 @@ function AndroidEndPage() {
useEffect(() => {
if (disabledNext) {
const interval = setInterval(() => {
if (system === 'win32') {
readMSG();
} else {
readMSG();
}
readMSG();

if (message.includes('100ANDROID')) {
clearInterval(interval);
Expand Down

0 comments on commit ea8d07f

Please sign in to comment.