fix logcat adding all crashlogs if last crash didnt result in the thing

This commit is contained in:
altalk23 2024-01-22 19:11:17 +03:00
parent d8b18dc609
commit d7ed016768

View file

@ -276,8 +276,13 @@ bool crashlog::setupPlatformHandler() {
if (begin != std::string::npos) {
s_result = s_result.substr(begin);
}
else {
s_result = "Logcat buffer is empty.";
}
s_lastLaunchCrashed = true;
}
else {
s_result = "Logcat buffer is empty.";
}
return true;