Skip to content

Commit 3fe99fe

Browse files
committed
Rename to message
1 parent bd68ea5 commit 3fe99fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/BarcodeScannerController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ open class BarcodeScannerController: UIViewController {
278278

279279
- Parameter errorMessage: Error message that overrides the message from the config.
280280
*/
281-
public func resetWithError(errorMessage: String? = nil) {
282-
status = Status(state: .notFound, text: errorMessage)
281+
public func resetWithError(message: String? = nil) {
282+
status = Status(state: .notFound, text: message)
283283
}
284284

285285
/**

0 commit comments

Comments
 (0)