fix address book ugly style

This commit is contained in:
rustdesk 2023-06-20 21:05:50 +08:00
parent 2c56159d6d
commit 6f18083774
2 changed files with 5 additions and 3 deletions

View File

@ -98,7 +98,7 @@ class _AddressBookState extends State<AddressBook> {
width: double.infinity,
height: double.infinity,
decoration: BoxDecoration(
border: Border.all(color: MyTheme.darkGray),
border: Border.all(color: MyTheme.border),
borderRadius: BorderRadius.circular(2)),
child: _buildTags(),
).marginSymmetric(vertical: 8.0),
@ -430,7 +430,9 @@ class AddressBookTag extends StatelessWidget {
() => Container(
decoration: BoxDecoration(
color: tags.contains(name) ? Colors.blue : null,
border: Border.all(color: MyTheme.darkGray),
border: tags.contains(name)
? null
: Border.all(color: MyTheme.border),
borderRadius: BorderRadius.circular(6)),
margin: const EdgeInsets.symmetric(horizontal: 4.0, vertical: 8.0),
padding: const EdgeInsets.symmetric(vertical: 2.0, horizontal: 8.0),

View File

@ -8,7 +8,6 @@ import 'package:get/get.dart';
import '../../common.dart';
import '../../common/formatter/id_formatter.dart';
import '../../models/model.dart';
import '../../models/peer_model.dart';
import '../../models/platform_model.dart';
import '../../desktop/widgets/material_mod_popup_menu.dart' as mod_menu;
@ -1233,6 +1232,7 @@ class ActionMore extends StatelessWidget {
@override
Widget build(BuildContext context) {
return InkWell(
borderRadius: BorderRadius.circular(14),
onTap: () {},
onHover: (value) => _hover.value = value,
child: Obx(() => CircleAvatar(