Commit graph

17 commits

Author SHA1 Message Date
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