fix(fragment): 修复 CollectFragment 首次打开相机预览不显示的问题
This commit is contained in:
@@ -64,7 +64,7 @@ class CameraUtils(private var activity: ComponentActivity) {
|
||||
)
|
||||
cameraSelector = CameraSelector.DEFAULT_BACK_CAMERA
|
||||
}
|
||||
bind()
|
||||
// bind() 由外部在 previewView attach 到窗口后调用,避免首次无预览
|
||||
}
|
||||
|
||||
// if (isCameraReady.not()) {
|
||||
|
||||
Reference in New Issue
Block a user