mirror of
https://github.com/lumaa-dev/BubbleApp.git
synced 2025-02-02 19:47:19 +01:00
MARK
This commit is contained in:
parent
a0aa00eb61
commit
27a8d753be
@ -3,6 +3,7 @@
|
||||
import Foundation
|
||||
import SwiftUI
|
||||
|
||||
// Doesn't seem to work?
|
||||
struct AsyncImageTransferable: Codable, Transferable {
|
||||
let url: URL
|
||||
|
||||
@ -14,6 +15,7 @@ struct AsyncImageTransferable: Codable, Transferable {
|
||||
return Image(uiImage: uiimage)
|
||||
}
|
||||
|
||||
// MARK: A synchronous exporter should be used
|
||||
static var transferRepresentation: some TransferRepresentation {
|
||||
ProxyRepresentation { media in
|
||||
await media.fetchAsImage()
|
||||
|
13
Threaded/Views/Settings/AboutView.swift
Normal file
13
Threaded/Views/Settings/AboutView.swift
Normal file
@ -0,0 +1,13 @@
|
||||
//Made by Lumaa
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct AboutView: View {
|
||||
var body: some View {
|
||||
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
AboutView()
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user