|
|
|
@ -207,10 +207,10 @@ class TranslationView extends GetView<TranslationController> { |
|
|
|
return Row( |
|
|
|
children: [ |
|
|
|
// 悬浮窗切换按钮(仅在支持的模式下显示) |
|
|
|
if (Platform.isAndroid) |
|
|
|
Obx(() { |
|
|
|
if (Platform.isAndroid && |
|
|
|
(controller.currentMode.value == 'call' || |
|
|
|
controller.currentMode.value == 'audioVideo')) { |
|
|
|
if (controller.currentMode.value == 'call' || |
|
|
|
controller.currentMode.value == 'audioVideo') { |
|
|
|
return IconButton( |
|
|
|
icon: Icon( |
|
|
|
controller.isFloatingWindowEnabled.value |
|
|
|
|