Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

342 B
Raw Blame
import { Platform } from "react-native";
import { isGlassEffectAPIAvailable } from "expo-glass-effect";

export const isIOS26 =
  Platform.OS === "ios" && parseInt(Platform.Version as string, 10) >= 26;

export const isIPad = Platform.OS === "ios" && Platform.isPad;

export const shouldUseGlassPill = isIOS26 && isGlassEffectAPIAvailable();