Browse Source

fix(translation_view): 仅在通话翻译模式下显示电话图标

weicu
lxm 1 year ago
parent
commit
d453355fe8
  1. 26
      lib/modules/translation/views/translation_view.dart

26
lib/modules/translation/views/translation_view.dart

@ -223,21 +223,17 @@ class TranslationView extends GetView<TranslationController> {
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
), ),
), ),
SizedBox(width: 4.w), //只在通话翻译模式下显示电话图标
// Icon( if (controller.currentMode.value == 'call') ...[
// Icons.public, SizedBox(width: 4.w),
// size: 20.sp, Icon(
// color: isDarkMode Icons.phone_in_talk,
// ? Colors.white70 size: 20.sp,
// : Colors.grey[600], color: isDarkMode
// ), ? Colors.white70
Icon( : Colors.grey[600],
Icons.person_pin_circle, ),
size: 20.sp, ],
color: isDarkMode
? Colors.white70
: Colors.grey[600],
),
], ],
)), )),
), ),

Loading…
Cancel
Save