Marc Rousavy b3a88278de
perf: Fix double configuration flicker on fast device change (#2537)
* fix: Fix double configuration on device change

Fixes a situation that happened on every device change (or initial mount) where the device was configured after the session, separately, instead of just all at once causing an additonal delay/flicker of the prevjew.

* Try?

* Format

* Update CameraSession.swift

* Use `defer`

* Throw `.device`
2024-02-13 13:32:11 +01:00
..
2023-09-26 11:39:17 +02:00
2024-01-19 14:33:45 +01:00
2023-10-18 13:13:40 +02:00
2023-09-26 11:39:17 +02:00
2024-02-08 15:17:29 +01:00