mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 16:16:04 -04:00
Fix
This commit is contained in:
parent
020c3c56ca
commit
777d6f9839
@ -1009,7 +1009,8 @@ public class VerticalTabLayout extends LinearLayout {
|
|||||||
if (child instanceof TabItem) {
|
if (child instanceof TabItem) {
|
||||||
addTabFromItemView((TabItem) child);
|
addTabFromItemView((TabItem) child);
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException("Only TabItem instances can be added to TabLayout");
|
super.addView(child);
|
||||||
|
// throw new IllegalArgumentException("Only TabItem instances can be added to TabLayout");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user