Addressbook login. Button instead of text

This commit is contained in:
grummbeer 2023-02-10 14:14:49 +01:00
parent 506b1f1b10
commit 554b8bd032

View File

@ -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) {