Skip to content

Commit 00c8bff

Browse files
committed
Address linter violations
1 parent 4daff2f commit 00c8bff

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Shared/Samples/Animate 3D graphic/Animate3DGraphicView.SettingsView.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ extension Animate3DGraphicView {
3838
}
3939

4040
/// The view content of the settings sheet.
41-
@MainActor
42-
private var settingsContent: some View {
41+
@MainActor private var settingsContent: some View {
4342
NavigationStack {
4443
content
4544
.navigationTitle("\(label) Settings")

Shared/Samples/Find route around barriers/FindRouteAroundBarriersView.Views.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ extension FindRouteAroundBarriersView {
8888
}
8989

9090
/// The content to display in the sheet with a title and done button.
91-
@MainActor
92-
private var sheetContent: some View {
91+
@MainActor private var sheetContent: some View {
9392
NavigationStack {
9493
content()
9594
.navigationTitle(title)

Shared/Samples/Group layers together/GroupLayersTogetherView.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ struct GroupLayersTogetherView: View {
6767
}
6868

6969
/// The list of group layers and their child layers that are currently added to the map.
70-
@MainActor
71-
private var layersList: some View {
70+
@MainActor private var layersList: some View {
7271
NavigationStack {
7372
List {
7473
ForEach(scene.operationalLayers as! [GroupLayer], id: \.name) { groupLayer in

0 commit comments

Comments
 (0)