unify peer tab text color with tab bar text color
This commit is contained in:
parent
dbb5eb0c8e
commit
50c8855d28
@ -284,7 +284,6 @@ class _PeerTabPageState extends State<PeerTabPage>
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget _createSwitchBar(BuildContext context) {
|
Widget _createSwitchBar(BuildContext context) {
|
||||||
final textColor = Theme.of(context).textTheme.titleLarge?.color;
|
|
||||||
return Obx(() {
|
return Obx(() {
|
||||||
var tabs = statePeerTab.visibleOrderedTabs;
|
var tabs = statePeerTab.visibleOrderedTabs;
|
||||||
int indexCounter = -1;
|
int indexCounter = -1;
|
||||||
@ -326,8 +325,8 @@ class _PeerTabPageState extends State<PeerTabPage>
|
|||||||
height: 1,
|
height: 1,
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
color: statePeerTab.currentTab.value == t
|
color: statePeerTab.currentTab.value == t
|
||||||
? textColor
|
? MyTheme.tabbar(context).selectedTextColor
|
||||||
: textColor
|
: MyTheme.tabbar(context).unSelectedTextColor
|
||||||
?..withOpacity(0.5)),
|
?..withOpacity(0.5)),
|
||||||
),
|
),
|
||||||
)),
|
)),
|
||||||
|
@ -475,10 +475,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: flutter_custom_cursor
|
name: flutter_custom_cursor
|
||||||
sha256: "6c5204cf6a16650355b8aa47a8402e79922c07641390a32021a1069b561909ec"
|
sha256: "3850a32ac6de351ccc5e4286b6d94ff70c10abecd44479ea6c5aaea17264285d"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.0.3"
|
version: "0.0.4"
|
||||||
flutter_improved_scrolling:
|
flutter_improved_scrolling:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user