Merge pull request #3010 from jimmyGALLAND/fix-tab-translatations

Update desktop_tab_page.dart
This commit is contained in:
RustDesk 2023-01-31 08:48:41 +08:00 committed by GitHub
commit ac56c4b083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ class DesktopTabPage extends StatefulWidget {
DesktopTabController tabController = Get.find();
tabController.add(TabInfo(
key: kTabLabelSettingPage,
label: kTabLabelSettingPage,
label: translate(kTabLabelSettingPage),
selectedIcon: Icons.build_sharp,
unselectedIcon: Icons.build_outlined,
page: DesktopSettingPage(
@ -46,7 +46,7 @@ class _DesktopTabPageState extends State<DesktopTabPage> {
RemoteCountState.init();
tabController.add(TabInfo(
key: kTabLabelHomePage,
label: kTabLabelHomePage,
label: translate(kTabLabelHomePage),
selectedIcon: Icons.home_sharp,
unselectedIcon: Icons.home_outlined,
closable: false,