mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-02-03 00:48:08 +00:00
chore(tv): suppress tvOS hover gesture warning
This commit is contained in:
@@ -56,9 +56,15 @@ import * as TaskManager from "expo-task-manager";
|
||||
import { Provider as JotaiProvider, useAtom } from "jotai";
|
||||
import { useCallback, useEffect, useRef, useState } from "react";
|
||||
import { I18nextProvider } from "react-i18next";
|
||||
import { Appearance } from "react-native";
|
||||
import { Appearance, LogBox } from "react-native";
|
||||
import { SystemBars } from "react-native-edge-to-edge";
|
||||
import { GestureHandlerRootView } from "react-native-gesture-handler";
|
||||
|
||||
// Suppress harmless tvOS warning from react-native-gesture-handler
|
||||
if (Platform.isTV) {
|
||||
LogBox.ignoreLogs(["HoverGestureHandler is not supported on tvOS"]);
|
||||
}
|
||||
|
||||
import useRouter from "@/hooks/useAppRouter";
|
||||
import { userAtom } from "@/providers/JellyfinProvider";
|
||||
import { store as jotaiStore, store } from "@/utils/store";
|
||||
|
||||
Reference in New Issue
Block a user