Closed douglowder closed 1 week ago
The changes in #116 introduced noticeable rerendering in tvOS when using the arrow key or swipe gesture on the remote to change tabs.
The issue is that on tvOS, tabs are not selected by a press event, so the onTabItemEvent() handler is unnecessarily redrawing the tab bar.
onTabItemEvent()
This PR fixes that issue, and adds tvOS version checks to the existing iOS version checks.
Also fixed warnings in PageSelectedEvent.swift.
PageSelectedEvent.swift
The changes in #116 introduced noticeable rerendering in tvOS when using the arrow key or swipe gesture on the remote to change tabs.
The issue is that on tvOS, tabs are not selected by a press event, so the
onTabItemEvent()
handler is unnecessarily redrawing the tab bar.This PR fixes that issue, and adds tvOS version checks to the existing iOS version checks.
Also fixed warnings in
PageSelectedEvent.swift
.