mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
unify peer tab text color with tab bar text color
This commit is contained in:
@@ -284,7 +284,6 @@ class _PeerTabPageState extends State<PeerTabPage>
|
||||
}
|
||||
|
||||
Widget _createSwitchBar(BuildContext context) {
|
||||
final textColor = Theme.of(context).textTheme.titleLarge?.color;
|
||||
return Obx(() {
|
||||
var tabs = statePeerTab.visibleOrderedTabs;
|
||||
int indexCounter = -1;
|
||||
@@ -326,8 +325,8 @@ class _PeerTabPageState extends State<PeerTabPage>
|
||||
height: 1,
|
||||
fontSize: 14,
|
||||
color: statePeerTab.currentTab.value == t
|
||||
? textColor
|
||||
: textColor
|
||||
? MyTheme.tabbar(context).selectedTextColor
|
||||
: MyTheme.tabbar(context).unSelectedTextColor
|
||||
?..withOpacity(0.5)),
|
||||
),
|
||||
)),
|
||||
|
||||
Reference in New Issue
Block a user