Danny Mösch
d9bd0f3014
Update SwiftLint and SwiftFormat ( #613 )
...
* Update Swift version used by SwiftFormat
* Update SwiftLint version
* Rely on new virtual 'all' rule in SwiftLint
* Enable SwiftLint rule 'direct_return' rule and fix all violations
* Enable SwiftLint rule 'shorthand_optional_binding' rule and fix all violations
* Enable SwiftLint rule 'blanket_disable_command' rule and fix all violations
2023-04-23 13:01:37 -07:00
Tony Wang
51ad0c2920
fix #540 , duplicate entries in auto fill extension ( #593 )
...
* fix #540 , duplicate entries in auto fill extension
`prepareCredentialList` is called twice, once before unlock and once
after. If the lists are already prepared, i.e. not empty, skip this
step.
* fix format and lint
2023-01-19 11:39:05 -08:00
Danny Mösch
ad105b3df1
Enable some more SwitfLint rules ( #565 )
2022-06-15 19:55:02 -07:00
Danny Moesch
078503f249
Combine key scanning logic in one class
2020-08-31 14:05:19 -07:00
Danny Moesch
edd7398cd4
Use guard statements to reduce nesting
2020-08-31 14:05:19 -07:00
Danny Moesch
e1cb280d4a
Enable SwiftLint rule 'weak_delegate' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
c5e88d82c9
Enable SwiftLint rule 'vertical_whitespace_closing_braces' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
c87f4e9792
Enable SwiftLint rule 'multiline_arguments_brackets' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
5299ca25d7
Enable SwiftLint rule 'class_delegate_protocol' and fix all violations
2020-08-28 16:42:30 -07:00
Danny Moesch
7f9f0e43b2
Format code with SwiftFormat automatically in every build
2020-08-25 15:10:13 -07:00
Yishi Lin
6f295be74d
Polish codes of QR code scanner
2019-10-03 14:27:00 +08:00
Danny Moesch
f9c19b3ca4
Migrate to Swift 5.0
2019-05-01 18:30:13 +02:00
Danny Moesch
08c91599b6
Use | operator to concatenate multiline strings
2019-01-20 21:04:04 -08:00
Danny Moesch
1b4040135e
Localize strings in code
2019-01-20 21:04:04 -08:00
Mingshen Sun
ed387069a4
lint: delete trailing whitespaces
2018-12-09 16:59:07 -08:00
Bob Sun
2bfb36c527
Cleanup code of error handling
2018-11-17 21:41:28 -08:00
Yishi Lin
cacbeb57ee
Output error messages when camera is disabled.
2018-08-30 00:42:38 +08:00
Bob Sun
25ab22acc7
Fix QR code bug introduced by Swift 4 #134
2017-10-09 21:19:27 -07:00
Yishi Lin
774f05eae0
Convert to Swift 4
...
- Will fix all warnings next.
2017-09-23 16:29:03 +08:00
Yishi Lin
7814a8761e
Support adding otpauth via QR code.
...
- Check duplicated tokens has not been implimented.
2017-04-08 03:17:22 +08:00