Include tab count and move btn to center

This commit is contained in:
Paul Frazee 2022-11-17 10:37:30 -06:00
parent b390101106
commit 6b715224f2
2 changed files with 30 additions and 26 deletions

View file

@ -179,6 +179,10 @@ export class NavigationModel {
return this.tabs[this.tabIndex]
}
get tabCount() {
return this.tabs.length
}
isCurrentScreen(tabId: number, index: number) {
return this.tab.id === tabId && this.tab.index === index
}