mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-06-10 20:23:07 +08:00
Addressbook login. Button instead of text
This commit is contained in:
parent
506b1f1b10
commit
554b8bd032
@ -43,13 +43,10 @@ class _AddressBookState extends State<AddressBook> {
|
|||||||
return Obx(() {
|
return Obx(() {
|
||||||
if (gFFI.userModel.userName.value.isEmpty) {
|
if (gFFI.userModel.userName.value.isEmpty) {
|
||||||
return Center(
|
return Center(
|
||||||
child: InkWell(
|
child: ElevatedButton(
|
||||||
onTap: loginDialog,
|
onPressed: loginDialog,
|
||||||
child: Text(
|
child: Text(translate("Login"))
|
||||||
translate("Login"),
|
)
|
||||||
style: const TextStyle(decoration: TextDecoration.underline),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
if (gFFI.abModel.abLoading.value) {
|
if (gFFI.abModel.abLoading.value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user