Skip to content

Commit cd5ec2e

Browse files
committed
Reset counter for app keys in debug keys
1 parent 45e94cc commit cd5ec2e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Example/Source/View Controllers/Settings/SettingsViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ extension SettingsViewController: WizardDelegate {
161161
index += 1
162162
_ = try? network.add(networkKey: key, name: "Network Key \(i + 1)")
163163
}
164+
index = 1
164165
for i in 0..<applicationKeys {
165166
guard index < UInt8.max else { break }
166167
let key = fixed ? Data(repeating: 0, count: 15) + index : Data.random128BitKey()

0 commit comments

Comments
 (0)