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
commit 04d1b5a274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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