Skip to content

Commit

Permalink
更新 ipa.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
li-peifeng authored Dec 25, 2024
1 parent 5457b1b commit 23cf1a7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/pages/home/previews/ipa.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,23 @@ import { useT, useLink } from "~/hooks"
import { objStore } from "~/store"
import { api, baseName, safeBtoa } from "~/utils"
import { FileInfo } from "./info"
import { Download } from "./download"

const Ipa = () => {
const Ipa = () => {
const t = useT()
const [installing, setInstalling] = createSignal(false)
const [trInstalling, setTrInstalling] = createSignal(false)
const { currentObjLink } = useLink()
const { copyCurrentRawLink } = useCopyLink()
return (
<FileInfo>
<HStack spacing="$2">
<Button as="a" href={objStore.raw_url} target="_blank">
{t("home.preview.download")}
</Button>
<Button colorScheme="accent" onClick={() => copyCurrentRawLink(true)}>
{t("home.toolbar.copy_link")}
</Button>
<Button
as="a"
href={
Expand Down

0 comments on commit 23cf1a7

Please sign in to comment.