Skip to content

Commit e4069bd

Browse files
committed
change colors add back in color change on event
1 parent f2e2faf commit e4069bd

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

demo-ng/src/app.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
font-family: 'materialdesignicons-webfont', 'Material Design Icons';
55
}
66
MDTabStrip {
7-
selected-item-color: #FFFFFF;
7+
selected-item-color: #bff937;
88
un-selected-item-color: #404040;
99
highlight-color: #4CFFFF;
1010
}

demo-ng/src/main.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ import { AppModule } from './app/app.module';
55

66
if (global.isIOS) {
77
themer.setPrimaryColor('#bff937');
8-
themer.setPrimaryColorVariant('#33B5E5');
9-
themer.setAccentColor('#ff8a39');
10-
themer.setSecondaryColor('#a830d7');
8+
119
}
1210

1311
// A traditional NativeScript application starts by initializing global objects,

src/tabs/tabs.ios.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,12 +577,12 @@ export class Tabs extends TabsBase {
577577
if (tabStripItems) {
578578
if (tabStripItems[newIndex]) {
579579
tabStripItems[newIndex]._emit(TabStripItem.selectEvent);
580-
// this.updateItemColors(tabStripItems[newIndex]);
580+
this.updateItemColors(tabStripItems[newIndex]);
581581
}
582582

583583
if (tabStripItems[oldIndex]) {
584584
tabStripItems[oldIndex]._emit(TabStripItem.unselectEvent);
585-
// this.updateItemColors(tabStripItems[oldIndex]);
585+
this.updateItemColors(tabStripItems[oldIndex]);
586586
}
587587
}
588588

0 commit comments

Comments
 (0)