|
|
@@ -37,7 +37,11 @@ struct KFImageRenderer<HoldingView> : View where HoldingView: KFImageHoldingView
|
|
|
let context: KFImage.Context<HoldingView>
|
|
|
|
|
|
var body: some View {
|
|
|
- ZStack {
|
|
|
+ if context.startLoadingBeforeViewAppear && !binder.loadingOrSucceeded {
|
|
|
+ DispatchQueue.main.async { binder.start(context: context) }
|
|
|
+ }
|
|
|
+
|
|
|
+ return ZStack {
|
|
|
context.configurations
|
|
|
.reduce(HoldingView.created(from: binder.loadedImage, context: context)) {
|
|
|
current, config in config(current)
|