(String mode)
| 269 | } |
| 270 | } |
| 271 | public static void setAltZoneTabMode(String mode) { |
| 272 | Forge.altZoneTabMode = mode; |
| 273 | switch (Forge.altZoneTabMode) { |
| 274 | case "Vertical", "Horizontal" -> Forge.altZoneTabs = true; |
| 275 | case "Off" -> Forge.altZoneTabs = false; |
| 276 | default -> Forge.altZoneTabs = false; |
| 277 | } |
| 278 | } |
| 279 | public static boolean isHorizontalTabLayout() { |
| 280 | return Forge.altZoneTabs && "Horizontal".equalsIgnoreCase(Forge.altZoneTabMode); |
| 281 | } |
no outgoing calls
no test coverage detected