Updated the ContentView view in the app target to support navigation split view and to show floating new task button on both sidebar and details views when required.

This commit is contained in:
2026-02-12 04:08:30 +01:00
parent 1e7e498b47
commit c02f027687
5 changed files with 117 additions and 25 deletions
-3
View File
@@ -7,9 +7,6 @@ import SwiftUI
/// - *Title* (required)
/// - *Note* (optional)
/// - *Due date* (required)
///
/// The view uses a dedicated view model (`ViewModel`) to manage state and business logic, following the MVVM pattern.
/// When the user saves, the todo is inserted into the SwiftData model context and the view is dismissed afterwards.
struct NewTaskView: View {
// MARK: Properties