Merge pull request #3155 from grummbeer/addressbook-login-button

Addressbook login. Button instead of text
This commit is contained in:
RustDesk
2023-02-10 21:28:53 +08:00
committed by GitHub

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