We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ae0df8 commit a5bc0b5Copy full SHA for a5bc0b5
Sources/WebAuthentication/WebAuthentication.swift
@@ -154,6 +154,7 @@ public struct WebAuthentication {
154
155
var isPresented: Bool = false {
156
didSet {
157
+ guard isPresented != oldValue else { return }
158
if isPresented {
159
start()
160
} else {
@@ -261,6 +262,9 @@ public struct WebAuthentication {
261
262
263
var item: Item? {
264
265
+ guard item?.id != oldValue?.id else {
266
+ return
267
+ }
268
switch (oldValue, item) {
269
case (.none, .none):
270
break
0 commit comments