Open crisanvlad opened 2 years ago
I am implementing a feature to let the user reset the keychain in case there are issues and I check
if keychain.clear() { // clearing successfull } else { //show error }
And I was wondering if the clear() method shouldn't check inside if keychain.allKeys is empty before returning false.
I am implementing a feature to let the user reset the keychain in case there are issues and I check
And I was wondering if the clear() method shouldn't check inside if keychain.allKeys is empty before returning false.