Commit Graph

54 Commits

Author SHA1 Message Date
Dain Nilsson
3ee27bea96
Add init() to AppTextFields
This is ugly, but it allows wrapping the widgets for more customization.
2024-03-11 09:11:31 +01:00
Dain Nilsson
2626c81e02
Use Material Symbols 2024-03-08 09:50:34 +01:00
Dain Nilsson
5d286de0a0
Refactor Intents/Actions.
Big changes to Intents/Actions where we now have an argument for several
of the intents to indicate the target. This allows for handling these
actions on a higher level.
2024-01-19 12:32:46 +01:00
Elias Bonnici
b37d19164d
Fix duplicate error icons. 2023-12-15 09:37:34 +01:00
Elias Bonnici
e607d0a1c0
Put AppInputDecoration in separate file. 2023-12-14 17:46:32 +01:00
Elias Bonnici
7ea025f9f0
Add AppInputDecoration to AppTextFormField. 2023-12-14 17:21:46 +01:00
Elias Bonnici
fa92927f13
Add error suffixIcon. 2023-12-13 13:37:02 +01:00
Dain Nilsson
40809881b2
Add lint rules for relative imports and order. 2023-11-27 11:41:05 +01:00
Adam Velebil
f60e5ad756
add AppTextField/AppTextFormField 2023-11-24 11:17:58 +01:00
Dain Nilsson
5ad5695279
Combine OATH rename dialogs. 2023-08-18 14:54:55 +02:00
Adam Velebil
6eab3e310b
unfocus oath text fields before submit 2023-05-31 14:11:56 +02:00
Dain Nilsson
0e3d315a50
Replace Pair with records. 2023-05-22 11:20:30 +02:00
Dain Nilsson
b33dca3900
Change prefixes and add check_strings.py 2023-03-02 12:45:55 +01:00
Dain Nilsson
c42a03c9e2
USe parameterized strings for "foo: bar". 2023-03-01 10:30:32 +01:00
Dain Nilsson
be4dc4d7c3
Re-use AppLocalizations instance. 2023-03-01 08:36:58 +01:00
Dain Nilsson
1d389e3185
Restructure external strings. 2023-03-01 08:36:57 +01:00
Dain Nilsson
274989c22b
OATH cleanups. 2023-02-24 14:19:34 +01:00
Adam Velebil
fb7ce469ce
add PlatformException extension 2023-01-09 17:22:34 +01:00
Adam Velebil
f472097a9f
license notice update in source files 2022-10-04 12:12:54 +02:00
Dain Nilsson
f198b47bbf
Refactor Key usage in tests. 2022-09-12 12:58:17 +02:00
Adam Velebil
69228ae482
oath account, andr. settings, andr. beta dlg tests 2022-09-11 11:05:00 +02:00
Dain Nilsson
4b8b481418
Remove padding from ResponsiveDialog and move it to each view. 2022-09-08 13:19:22 +02:00
Dennis Fokin
6b03ba6628
Smaller fix, introduce dynamic string 2022-09-06 16:43:25 +02:00
Dennis Fokin
c4b070de71
l10n oath part 3 2022-09-06 14:30:18 +02:00
Dain Nilsson
e88191e4d6
Add missing dispose() method. Clean up comments. 2022-09-06 09:24:26 +02:00
Dain Nilsson
19cb2e49b2
Keep Pinned status when account is renamed. 2022-09-06 09:22:42 +02:00
Dain Nilsson
07f9bab181
Improve Account issuer/name validation and trim values.
This adds the checking for duplicate issuer/name to Add Account, and
changes the error handling to indicate that the Name is incorrect
instead of both Issuer and Name. It also trims both issuer name name to
avoit leading/trailing whitespace.
2022-09-06 09:22:41 +02:00
Adam Velebil
e9f8c434d8
conditions for Save button enabled 2022-09-06 09:18:42 +02:00
Dain Nilsson
f2cb9de037
Android: Better keyboard "done" actions. 2022-08-12 09:56:12 +02:00
Adam Velebil
902eb6718d
Merge branch 'main' into fix/android-nfc 2022-07-21 17:24:35 +02:00
Dain Nilsson
38528c81ae
Rename and add comments to utf8 utils. 2022-07-06 15:22:15 +02:00
Dain Nilsson
662536140a
Count UTF8 bytes for byte-limited text fields. 2022-07-05 15:30:31 +02:00
Adam Velebil
1968804226
use CancellationException 2022-06-20 09:47:34 +02:00
Adam Velebil
0b4b111acd
Merge branch 'main' into fix/android-nfc 2022-06-15 11:07:39 +02:00
Dain Nilsson
5fa3275ebb
Show better errors. 2022-06-13 16:47:09 +02:00
Adam Velebil
22fde58bd5
fix warning 2022-06-13 10:41:46 +02:00
Adam Velebil
c357522e6a
Merge branch 'main' into fix/android-nfc 2022-06-13 10:32:20 +02:00
Dain Nilsson
60ee8c2f1e
Remove unused imports. 2022-06-10 16:08:23 +02:00
Dain Nilsson
141fa419e4
Pop dialogs by default when device changes. 2022-06-10 16:02:07 +02:00
Adam Velebil
60e21d60f0
Merge branch 'main' into fix/android-nfc 2022-06-10 12:26:40 +02:00
Adam Velebil
b1425a5285
YADESK-602 android and nfc exception handling 2022-06-10 12:23:52 +02:00
Rikard Braathen
fd851a35a1
added icons to all textfields 2022-06-09 11:23:34 +02:00
Dain Nilsson
af92068a75
Enable use_super_parameters lint rule. 2022-05-12 12:05:18 +02:00
Dain Nilsson
0641418e34
Fix lint warnings. 2022-05-12 08:34:51 +02:00
Dain Nilsson
f944c9cf86
Cancel ResponsiveDialog on tap outside.
Also moved the class to lib/widgets/
2022-03-31 11:50:40 +02:00
Dain Nilsson
4b5ea2fdd7
Add and use showMessage for SnackBars. 2022-03-25 15:43:32 +01:00
Dain Nilsson
53699612f4
Remove empty constructor. 2022-03-25 15:14:36 +01:00
Dain Nilsson
921190ba40
Introduce responsive dialogs. 2022-03-16 09:33:06 +01:00
Dain Nilsson
3931ae86fb
Fix rename credential.
* Update credential in dialog.
* Only show rename button for >= 5.3.
* Don't throw exception in Code lookup for renamed credential.
2022-03-02 15:34:23 +01:00
Dain Nilsson
40335e66da
Refactor common code between add and rename accounts. 2022-01-31 15:48:34 +01:00