mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-04 16:59:42 +00:00
fix some type errors
This commit is contained in:
parent
1ca4e275de
commit
41081118ef
3 changed files with 7 additions and 4 deletions
|
|
@ -3108,7 +3108,6 @@ const AndroidVideoPlayer: React.FC = () => {
|
|||
onClose={handleClose}
|
||||
width={screenDimensions.width}
|
||||
height={screenDimensions.height}
|
||||
useFastImage={false}
|
||||
/>
|
||||
|
||||
<Animated.View
|
||||
|
|
|
|||
|
|
@ -2489,7 +2489,6 @@ const KSPlayerCore: React.FC = () => {
|
|||
onClose={handleClose}
|
||||
width={shouldUseFullscreen ? effectiveDimensions.width : screenDimensions.width}
|
||||
height={shouldUseFullscreen ? effectiveDimensions.height : screenDimensions.height}
|
||||
useFastImage={true}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ import { useTraktContext } from '../contexts/TraktContext';
|
|||
import { useTheme } from '../contexts/ThemeContext';
|
||||
import { catalogService } from '../services/catalogService';
|
||||
import { fetchTotalDownloads } from '../services/githubReleaseService';
|
||||
import * as WebBrowser from 'expo-web-browser';
|
||||
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
||||
import * as Sentry from '@sentry/react-native';
|
||||
import { getDisplayedAppVersion } from '../utils/version';
|
||||
|
|
@ -913,7 +914,9 @@ const SettingsScreen: React.FC = () => {
|
|||
|
||||
<TouchableOpacity
|
||||
style={[styles.discordButton, { backgroundColor: 'transparent', paddingVertical: 0, paddingHorizontal: 0 }]}
|
||||
onPress={() => Linking.openURL('https://ko-fi.com/tapframe')}
|
||||
onPress={() => WebBrowser.openBrowserAsync('https://ko-fi.com/tapframe', {
|
||||
presentationStyle: Platform.OS === 'ios' ? WebBrowser.WebBrowserPresentationStyle.FORM_SHEET : WebBrowser.WebBrowserPresentationStyle.FORM_SHEET
|
||||
})}
|
||||
activeOpacity={0.7}
|
||||
>
|
||||
<FastImage
|
||||
|
|
@ -1011,7 +1014,9 @@ const SettingsScreen: React.FC = () => {
|
|||
|
||||
<TouchableOpacity
|
||||
style={[styles.discordButton, { backgroundColor: 'transparent', paddingVertical: 0, paddingHorizontal: 0 }]}
|
||||
onPress={() => Linking.openURL('https://ko-fi.com/tapframe')}
|
||||
onPress={() => WebBrowser.openBrowserAsync('https://ko-fi.com/tapframe', {
|
||||
presentationStyle: Platform.OS === 'ios' ? WebBrowser.WebBrowserPresentationStyle.FORM_SHEET : WebBrowser.WebBrowserPresentationStyle.FORM_SHEET
|
||||
})}
|
||||
activeOpacity={0.7}
|
||||
>
|
||||
<FastImage
|
||||
|
|
|
|||
Loading…
Reference in a new issue