File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -599,7 +599,6 @@ export class Tabs extends TabsBase {
599
599
}
600
600
601
601
public disposeNativeView ( ) {
602
- console . log ( 'disposeNativeView' ) ;
603
602
this . _tabsBar . setItems ( null , null ) ;
604
603
( this . _pagerAdapter as any ) . owner = null ;
605
604
this . _pagerAdapter = null ;
@@ -629,7 +628,6 @@ export class Tabs extends TabsBase {
629
628
const transaction = fragmentManager . beginTransaction ( ) ;
630
629
631
630
const fragments = this . fragments ;
632
- console . log ( 'disposeCurrentFragments' , fragments . length ) ;
633
631
for ( let i = 0 ; i < fragments . length ; i ++ ) {
634
632
transaction . remove ( fragments [ i ] ) ;
635
633
}
@@ -694,6 +692,9 @@ export class Tabs extends TabsBase {
694
692
695
693
const tabItems = new Array < com . nativescript . material . core . TabItemSpec > ( ) ;
696
694
items . forEach ( ( tabStripItem : TabStripItem , i , arr ) => {
695
+ if ( ! this . _unSelectedItemColor ) {
696
+ this . _unSelectedItemColor = tabStripItem . label . style . color ;
697
+ }
697
698
tabStripItem . _index = i ;
698
699
const tabItemSpec = this . createTabItemSpec ( tabStripItem ) ;
699
700
( tabStripItem as any ) . tabItemSpec = tabItemSpec ;
You can’t perform that action at this time.
0 commit comments