Skip to content

Commit af3f19a

Browse files
authored
Merge pull request #590 from NordicSemiconductor/improvement/wizard
Reset counter for app keys in debug keys
2 parents 45e94cc + cd5ec2e commit af3f19a

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)