Skip to content

Commit 208c21f

Browse files
committed
Merge pull request NativeScript#673 from NativeScript/fix
TabViewItem.title and SegmentedBarItem.title are now empty string by …
2 parents cb92b88 + 72c464b commit 208c21f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/segmented-bar/segmented-bar-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export module knownCollections {
1111
}
1212

1313
export class SegmentedBarItem extends bindable.Bindable implements definition.SegmentedBarItem {
14-
private _title: string;
14+
private _title: string = "";
1515
public _parent: SegmentedBar;
1616

1717
get title(): string {

ui/tab-view/tab-view-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import bindable = require("ui/core/bindable");
99
export var traceCategory = "TabView";
1010

1111
export class TabViewItem extends bindable.Bindable implements definition.TabViewItem {
12-
private _title: string;
12+
private _title: string = "";
1313
private _view: view.View;
1414
private _iconSource: string;
1515

0 commit comments

Comments
 (0)