CodeScanner icon indicating copy to clipboard operation
CodeScanner copied to clipboard

connot update isGalleryPresented wrappedValue.

Open NNWJH opened this issue 3 years ago • 1 comments

cause Error : - Modifying state during view update, this will cause undefined behavior. ScannerViewController,isGalleryShowing didSet. 截屏2022-05-28 09 32 51

NNWJH avatar May 28 '22 01:05 NNWJH

Can you share the piece of code where you call openGallery or change isGalleryPresented's value?

nathanfallet avatar Aug 28 '22 15:08 nathanfallet

Also meet this issue when slide down the Gallery Sheet, only work fine through the Cancel Button

Kurris avatar Sep 29 '22 08:09 Kurris

Fixed here https://github.com/twostraws/CodeScanner/pull/106

kafejo avatar Apr 25 '23 12:04 kafejo