refactor: swipe actions

This commit is contained in:
lilong.129
2023-04-27 15:36:55 +08:00
parent df5731aafd
commit 0794ef8296
4 changed files with 49 additions and 39 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ type IOCRService interface {
func (dExt *DriverExt) GetScreenTextsByOCR() (texts OCRTexts, err error) {
var bufSource *bytes.Buffer
if bufSource, err = dExt.TakeScreenShot(
builtin.GenNameWithTimestamp("screenshot_%d_ocr")); err != nil {
builtin.GenNameWithTimestamp("%d_ocr")); err != nil {
return
}