mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Restored files from old Mac, force pushing
This commit is contained in:
parent
5dd95228b8
commit
5040381840
126 changed files with 10431 additions and 67 deletions
35
DynamicIsland/components/WhatsNewView.swift
Normal file
35
DynamicIsland/components/WhatsNewView.swift
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
//
|
||||
// WhatsNewView.swift
|
||||
// boringNotch
|
||||
//
|
||||
// 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))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue