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 {
599599 }
600600
601601 public disposeNativeView ( ) {
602- console . log ( 'disposeNativeView' ) ;
603602 this . _tabsBar . setItems ( null , null ) ;
604603 ( this . _pagerAdapter as any ) . owner = null ;
605604 this . _pagerAdapter = null ;
@@ -629,7 +628,6 @@ export class Tabs extends TabsBase {
629628 const transaction = fragmentManager . beginTransaction ( ) ;
630629
631630 const fragments = this . fragments ;
632- console . log ( 'disposeCurrentFragments' , fragments . length ) ;
633631 for ( let i = 0 ; i < fragments . length ; i ++ ) {
634632 transaction . remove ( fragments [ i ] ) ;
635633 }
@@ -694,6 +692,9 @@ export class Tabs extends TabsBase {
694692
695693 const tabItems = new Array < com . nativescript . material . core . TabItemSpec > ( ) ;
696694 items . forEach ( ( tabStripItem : TabStripItem , i , arr ) => {
695+ if ( ! this . _unSelectedItemColor ) {
696+ this . _unSelectedItemColor = tabStripItem . label . style . color ;
697+ }
697698 tabStripItem . _index = i ;
698699 const tabItemSpec = this . createTabItemSpec ( tabStripItem ) ;
699700 ( tabStripItem as any ) . tabItemSpec = tabItemSpec ;
You can’t perform that action at this time.
0 commit comments