From 65668cfc8ef66a93d0b3ec9d940d7fa82c1eca86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 6 Nov 2021 11:13:55 +0100 Subject: [PATCH] Documentation --- .../DemoApps/GRDBAsyncDemo/GRDBAsyncDemo/Views/AppView.swift | 5 ++--- .../GRDBCombineDemo/GRDBCombineDemo/Views/AppView.swift | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Documentation/DemoApps/GRDBAsyncDemo/GRDBAsyncDemo/Views/AppView.swift b/Documentation/DemoApps/GRDBAsyncDemo/GRDBAsyncDemo/Views/AppView.swift index 60a215a80..64eb9d36c 100644 --- a/Documentation/DemoApps/GRDBAsyncDemo/GRDBAsyncDemo/Views/AppView.swift +++ b/Documentation/DemoApps/GRDBAsyncDemo/GRDBAsyncDemo/Views/AppView.swift @@ -35,10 +35,9 @@ struct AppView: View { ordering: $players.ordering, willChange: { // onChange(of: $players.wrappedValue.ordering) - // reveals a bug in SwiftUI: the List remains in - // editing mode if the editMode is changed during + // is not able to leave the editing mode during // the animation of the list content. - // Word around: stop editing *before* the ordering + // Workaround: stop editing before the ordering // is changed, and the list content is updated. stopEditing() })) diff --git a/Documentation/DemoApps/GRDBCombineDemo/GRDBCombineDemo/Views/AppView.swift b/Documentation/DemoApps/GRDBCombineDemo/GRDBCombineDemo/Views/AppView.swift index a2df4d6ac..e6658da20 100644 --- a/Documentation/DemoApps/GRDBCombineDemo/GRDBCombineDemo/Views/AppView.swift +++ b/Documentation/DemoApps/GRDBCombineDemo/GRDBCombineDemo/Views/AppView.swift @@ -35,10 +35,9 @@ struct AppView: View { ordering: $players.ordering, willChange: { // onChange(of: $players.wrappedValue.ordering) - // reveals a bug in SwiftUI: the List remains in - // editing mode if the editMode is changed during + // is not able to leave the editing mode during // the animation of the list content. - // Word around: stop editing *before* the ordering + // Workaround: stop editing before the ordering // is changed, and the list content is updated. stopEditing() }))