Merge pull request #3766 from 21pages/fix

fix home page tabbar label language cannot be changed
This commit is contained in:
RustDesk
2023-03-24 18:17:50 +08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -869,7 +869,7 @@ class _TabState extends State<_Tab> with RestorationMixin {
return ConstrainedBox(
constraints: BoxConstraints(maxWidth: widget.maxLabelWidth ?? 200),
child: Text(
widget.label.value,
translate(widget.label.value),
textAlign: TextAlign.center,
style: TextStyle(
color: isSelected