From 19c589cacaec5a3ed498db4e928706680ad3e978 Mon Sep 17 00:00:00 2001 From: lxm <1274844347@qq.com> Date: Mon, 25 Aug 2025 00:13:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(translation=5Fview):=20=E4=B8=BAAndroid?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E8=B0=83=E6=95=B4=E5=BA=95=E9=83=A8=E9=97=B4?= =?UTF-8?q?=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根据平台类型调整翻译视图底部的间距,Android平台使用20.h的高度 --- lib/modules/translation/views/translation_view.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/modules/translation/views/translation_view.dart b/lib/modules/translation/views/translation_view.dart index b75e5ffd4..354112508 100644 --- a/lib/modules/translation/views/translation_view.dart +++ b/lib/modules/translation/views/translation_view.dart @@ -1,5 +1,6 @@ import 'dart:async'; import 'dart:ui'; +import 'dart:io'; import 'package:flutter/material.dart'; import 'package:get/get.dart'; @@ -1153,7 +1154,7 @@ class TranslationView extends GetView { child: const Icon(Icons.close, color: Colors.white), ), ), - const SizedBox(height: 19), + if (Platform.isAndroid) SizedBox(height: 20.h), ], ), );