fix some minors of custom client

This commit is contained in:
rustdesk
2024-03-15 00:26:53 +08:00
parent 228582296c
commit a9b0bc0409
8 changed files with 100 additions and 99 deletions

View File

@@ -3082,7 +3082,7 @@ Color? disabledTextColor(BuildContext context, bool enabled) {
: Theme.of(context).textTheme.titleLarge?.color?.withOpacity(0.6);
}
// max 200 x 40
// max 300 x 60
Widget? loadLogo() {
bool isFound = true;
final image = Image.asset(
@@ -3095,9 +3095,9 @@ Widget? loadLogo() {
);
if (isFound) {
return Container(
constraints: BoxConstraints(maxWidth: 200, maxHeight: 40),
constraints: BoxConstraints(maxWidth: 300, maxHeight: 60),
child: image,
).marginOnly(bottom: 10);
).marginOnly(bottom: 16);
} else {
return null;
}