mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
35 lines
746 B
Swift
35 lines
746 B
Swift
//
|
|
// WhatsNewView.swift
|
|
// DynamicIsland
|
|
//
|
|
// Created by Richard Kunkli on 09/08/2024.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct WhatsNewView: View {
|
|
@Binding var isPresented: Bool
|
|
|
|
var body: some View {
|
|
VStack(spacing: 20) {
|
|
Text("What's New")
|
|
.font(.largeTitle)
|
|
|
|
VStack(alignment: .leading, spacing: 10) {
|
|
Text("• New feature 1")
|
|
Text("• Improved performance")
|
|
Text("• Bug fixes")
|
|
}
|
|
|
|
Button("Got it!") {
|
|
isPresented = false
|
|
}
|
|
}
|
|
.frame(width: 300, height: 200)
|
|
.padding()
|
|
}
|
|
}
|
|
|
|
#Preview {
|
|
WhatsNewView(isPresented: .constant(true))
|
|
}
|