mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 23:59:21 -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) {
|
||||
addTabFromItemView((TabItem) child);
|
||||
} 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