Send files directly between devices over the internet - no cloud storage, no size limits.
TypeScript cross-platformdata-transferdecentralizedfile-sharingfile-transferhole-punchingopen-sourcep2ppeer-to-peerprivacyprivacy-tools
import { Appearance, useColorScheme } from 'react-native'
import { ThemeType } from './types'
export function getSystemTheme(): ThemeType {
return Appearance.getColorScheme() === 'light' ? ThemeType.Light : ThemeType.Dark
}
export function useSystemTheme(): ThemeType {
return useColorScheme() === 'light' ? ThemeType.Light : ThemeType.Dark
}