message: Cache last valid payment in clipboard
diff: import Clipboard from "@react-native-community/clipboard"
  +import { ApolloClient } from "@apollo/client"
  import { validPayment } from "./parsing"
  import { modalClipboardVisibleVar, walletIsActive } from "../graphql/query"
  import { Token } from "./token"
  -import { ApolloClient } from "@apollo/client"
  +import { loadString, saveString } from "./storage"
  export const checkClipboard = async (client: ApolloClient<unknown>): Promise<void> => {
  const clipboard = await Clipboard.getString()
  @@ -12,10 +13,15 @@ export const checkClipboard = async (client: ApolloClient<unknown>): Promise<voi
  return
  }
  + if (clipboard === (await loadString(LAST_CLIPBOARD_PAYMENT))) {
  + return
  + }
  +
  const { valid } = validPayment(clipboard, new Token().network, client)
  if (!valid) {
  return
  }
  modalClipboardVisibleVar(true)
  + saveString(LAST_CLIPBOARD_PAYMENT, clipboard)
  }
  