mirror of
https://github.com/mitchell/selfpass.git
synced 2025-12-15 21:47:23 +00:00
Add decryption of credential encrypted fields; refactored config;
add app icon
This commit is contained in:
parent
910bdeae12
commit
27215e6596
60 changed files with 370 additions and 151 deletions
|
|
@ -7,6 +7,7 @@ typedef OnSubmittedBuilder = ValueChanged<String> Function(
|
|||
class TextField extends StatelessWidget {
|
||||
final OnSubmittedBuilder onSubmittedBuilder;
|
||||
final TextEditingController controller;
|
||||
final OverlayVisibilityMode clearButtonMode;
|
||||
final Widget prefix;
|
||||
final Widget suffix;
|
||||
final bool obscure;
|
||||
|
|
@ -25,6 +26,7 @@ class TextField extends StatelessWidget {
|
|||
this.autocorrect = false,
|
||||
this.prefix,
|
||||
this.suffix,
|
||||
this.clearButtonMode = OverlayVisibilityMode.editing,
|
||||
});
|
||||
|
||||
@override
|
||||
|
|
@ -36,7 +38,7 @@ class TextField extends StatelessWidget {
|
|||
border: Border.all(color: CupertinoColors.black),
|
||||
borderRadius: const BorderRadius.all(Radius.circular(5.0)),
|
||||
),
|
||||
clearButtonMode: OverlayVisibilityMode.editing,
|
||||
clearButtonMode: clearButtonMode,
|
||||
textAlign: TextAlign.start,
|
||||
onSubmitted: this.onSubmittedBuilder != null
|
||||
? onSubmittedBuilder(context)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue