Skip to content

Send files directly between devices over the internet - no cloud storage, no size limits.

335 B
Raw Blame
const ASK_KEY = 'altersend.downloads.askEveryTime'

export function isAskEveryTime(): boolean {
  try {
    return window.localStorage.getItem(ASK_KEY) === '1'
  } catch {
    return false
  }
}

export function setAskEveryTime(value: boolean): void {
  try {
    window.localStorage.setItem(ASK_KEY, value ? '1' : '0')
  } catch {}
}