Skip to content

Commit 9032c83

Browse files
authored
Merge pull request #964 from Esri/df/777
Fix warnings
2 parents fff325a + ba38ac5 commit 9032c83

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

AuthenticationExample/AuthenticationExample/UserView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ struct UserView: View {
6565
}
6666
}
6767

68-
extension PortalUser.Role: CustomStringConvertible {
68+
extension PortalUser.Role: @retroactive CustomStringConvertible {
6969
public var description: String {
7070
switch self {
7171
case .user:

Sources/ArcGISToolkit/Components/Authentication/Authenticator.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public final class Authenticator: ObservableObject {
6161
/// - Parameters:
6262
/// - promptForUntrustedHosts: A value indicating whether we should prompt the user when
6363
/// encountering an untrusted host.
64-
/// - oAuthConfigurations: The OAuth configurations that this authenticator can work with.
64+
/// - oAuthUserConfigurations: The OAuth configurations that this authenticator can work with.
6565
public init(
6666
promptForUntrustedHosts: Bool = false,
6767
oAuthUserConfigurations: [OAuthUserConfiguration] = []

Sources/ArcGISToolkit/Components/BasemapGallery/BasemapGallery.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ private extension BasemapGallery {
223223

224224
public extension BasemapGallery {
225225
/// The style of the basemap gallery. Defaults to ``Style/automatic(maxGridItemWidth:)``.
226-
/// - Parameter style: The `Style` to use.
226+
/// - Parameter newStyle: The `Style` to use.
227227
/// - Returns: The `BasemapGallery`.
228228
func style(
229229
_ newStyle: Style

Sources/ArcGISToolkit/Components/Search/SearchView.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ extension SearchView {
305305
}
306306

307307
/// Sets the current query.
308-
/// - Parameter newQueryString: The new value.
308+
/// - Parameter newQuery: The new value.
309309
/// - Returns: The `SearchView`.
310310
public func currentQuery(_ newQuery: String) -> Self {
311311
var copy = self
@@ -316,7 +316,6 @@ extension SearchView {
316316
/// Sets a closure to perform when the query changes.
317317
/// - Parameters:
318318
/// - action: The closure to performed when the query has changed.
319-
/// - query: The new query.
320319
public func onQueryChanged(perform action: @escaping (_ query: String) -> Void) -> Self {
321320
var copy = self
322321
copy.onQueryChangedAction = action

Sources/ArcGISToolkit/Documentation.docc/FloatingPanel.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The following images are of a simple list of numbers in a floating panel.
1818
| ------ | ---- |
1919
| ![image](https://user-images.githubusercontent.com/3998072/202795901-b86d6d26-3572-4c88-8f6e-84473ce57002.png) | ![image](https://user-images.githubusercontent.com/3998072/202796009-92e3b5c3-d88b-4124-8d9f-bad6df445f02.png) |
2020

21-
- Note: The Floating Panel is exposed as a view modifier. See ``SwiftUI/View/floatingPanel(attributionBarHeight:backgroundColor:selectedDetent:horizontalAlignment:isPresented:maxWidth:_:)``
21+
- Note: The Floating Panel is exposed as a view modifier. See ``SwiftUICore/View`` for all available modifiers.
2222

2323
**Features**
2424

0 commit comments

Comments
 (0)