@nativescript-community/ui-material-core-tabs 7.0.43 → 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-material-core-tabs",
3
- "version": "7.0.43",
3
+ "version": "7.1.1",
4
4
  "description": "Material Core Tabs component",
5
5
  "main": "./index",
6
6
  "sideEffects": false,
@@ -39,7 +39,7 @@
39
39
  "repository": "https://github.com/nativescript-community/ui-material-components",
40
40
  "readmeFilename": "README.md",
41
41
  "dependencies": {
42
- "@nativescript-community/ui-material-core": "^7.0.42"
42
+ "@nativescript-community/ui-material-core": "^7.1.1"
43
43
  },
44
- "gitHead": "bdebd9caaade717c1f2a32d5b1d80f28ed8e2e83"
44
+ "gitHead": "9be78837739b77c4144933959637cee3be14c055"
45
45
  }
@@ -178,7 +178,7 @@ public class TabsBar extends HorizontalScrollView {
178
178
  public void setItems(TabItemSpec[] items) {
179
179
  mTabStrip.removeAllViews();
180
180
  mTabItems = items;
181
- if (mViewPager != null) {
181
+ if (mViewPager != null && mViewPager.getAdapter() != null) {
182
182
  populateTabStrip();
183
183
  }
184
184