Skip to content

Commit

Permalink
#1190 fix: add 3 second delay before showing the confirmation message…
Browse files Browse the repository at this point in the history
… after taking a screenshot with root
  • Loading branch information
sds100 committed Aug 5, 2024
1 parent 4328bd7 commit 66683a2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,9 @@ class PerformActionsUseCaseImpl(

suAdapter.execute("mkdir -p $screenshotsFolder; screencap -p $screenshotsFolder/Screenshot_$fileDate.png")
.onSuccess {
// Wait 3 seconds so the message isn't shown in the screenshot.
delay(3000)

popupMessageAdapter.showPopupMessage(
resourceProvider.getString(
R.string.toast_screenshot_taken,
Expand Down

0 comments on commit 66683a2

Please sign in to comment.