Skip to content

Commit

Permalink
Fix method name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rlepinski committed Oct 11, 2023
1 parent 9a93cd0 commit e0bafa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ struct DeliveryActivityView: View {
}
}
.task {
for await update in Airship.channel.liveActityRegistrationStatusUpdates(
for await update in Airship.channel.liveActivityRegistrationStatusUpdates(
activity: activity
) {
await MainActor.run {
Expand Down
4 changes: 2 additions & 2 deletions Airship/AirshipCore/Source/Channel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ extension AirshipChannel {
/// - name: The live activity name
/// - Returns A `LiveActivityRegistrationStatusUpdates`
@available(iOS 16.1, *)
public func liveActityRegistrationStatusUpdates(
public func liveActivityRegistrationStatusUpdates(
name: String
) -> LiveActivityRegistrationStatusUpdates {

Expand All @@ -715,7 +715,7 @@ extension AirshipChannel {
/// - activity: The live activity
/// - Returns A `LiveActivityRegistrationStatusUpdates`
@available(iOS 16.1, *)
public func liveActityRegistrationStatusUpdates<T: ActivityAttributes>(
public func liveActivityRegistrationStatusUpdates<T: ActivityAttributes>(
activity: Activity<T>
) -> LiveActivityRegistrationStatusUpdates {
self.liveActivityRegistry.registrationUpdates(name: nil, id: activity.id)
Expand Down

0 comments on commit e0bafa3

Please sign in to comment.