-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed deprecated
ActivitySheet
modifier in favor of the iOS 16 `S…
…hareLink`.
- Loading branch information
Showing
6 changed files
with
35 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// | ||
// Xcore | ||
// Copyright © 2021 Xcore | ||
// MIT license, see LICENSE file for details | ||
// | ||
|
||
import SwiftUI | ||
|
||
struct ShareView: View { | ||
var body: some View { | ||
List { | ||
ShareLink("Share License Agreement", item: "License Agreement...") | ||
.buttonStyle(.capsule) | ||
|
||
ShareLink(item: "License Agreement...") { | ||
Label("Share License Agreement", systemImage: .doc) | ||
} | ||
} | ||
} | ||
} | ||
|
||
// MARK: - Preview | ||
|
||
#Preview { | ||
ShareView() | ||
.embedInNavigation() | ||
} |
51 changes: 0 additions & 51 deletions
51
Sources/Xcore/Cocoa/Extensions/UIActivity+Extensions.swift
This file was deleted.
Oops, something went wrong.
216 changes: 0 additions & 216 deletions
216
Sources/Xcore/SwiftUI/Components/ActivitySheet/View+ActivitySheet.swift
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.