Merge pull request #386 from cake-tech/CW-99-add-paste-to-new-contact-address

Add paste option to new contact screen
This commit is contained in:
mkyq 2022-06-20 15:51:24 +01:00 committed by GitHub
commit 6617b8afe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,10 @@ class ContactPage extends BasePage {
child: Observer( child: Observer(
builder: (_) => AddressTextField( builder: (_) => AddressTextField(
controller: _addressController, controller: _addressController,
options: [AddressTextFieldOption.qrCode], options: [
AddressTextFieldOption.paste,
AddressTextFieldOption.qrCode,
],
buttonColor: Theme.of(context).accentTextTheme.display2.color, buttonColor: Theme.of(context).accentTextTheme.display2.color,
iconColor: PaletteDark.gray, iconColor: PaletteDark.gray,
borderColor: Theme.of(context).primaryTextTheme.title.backgroundColor, borderColor: Theme.of(context).primaryTextTheme.title.backgroundColor,