Merge pull request #3155 from grummbeer/addressbook-login-button
Addressbook login. Button instead of text
This commit is contained in:
commit
04d1b5a274
@ -43,13 +43,10 @@ class _AddressBookState extends State<AddressBook> {
|
||||
return Obx(() {
|
||||
if (gFFI.userModel.userName.value.isEmpty) {
|
||||
return Center(
|
||||
child: InkWell(
|
||||
onTap: loginDialog,
|
||||
child: Text(
|
||||
translate("Login"),
|
||||
style: const TextStyle(decoration: TextDecoration.underline),
|
||||
),
|
||||
),
|
||||
child: ElevatedButton(
|
||||
onPressed: loginDialog,
|
||||
child: Text(translate("Login"))
|
||||
)
|
||||
);
|
||||
} else {
|
||||
if (gFFI.abModel.abLoading.value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user