|
7 | 7 | >
|
8 | 8 | <div class="flex flex-col gap-4">
|
9 | 9 | <div class="max-w-[500px]">
|
10 |
| - <div class="font-extrabold text-contrast text-xl mb-1">Modrinth App v{{ update!.version }}</div> |
| 10 | + <div class="font-extrabold text-contrast text-xl mb-1"> |
| 11 | + Modrinth App v{{ update!.version }} |
| 12 | + </div> |
11 | 13 | <template v-if="!downloadInProgress && !downloadError">
|
12 |
| - <div class="mb-4 leading-tight">{{ formatMessage(messages.bodyVersion) }}</div> |
13 |
| - <div class="text-sm text-secondary mb-3"> |
| 14 | + <div class="mb-4 leading-tight">{{ formatMessage(messages.bodyVersion) }}</div> |
| 15 | + <div class="text-sm text-secondary mb-3"> |
14 | 16 | {{ formatMessage(messages.downloadSize, { size: formatBytes(updateSize) }) }}
|
15 | 17 | </div>
|
16 | 18 | </template>
|
|
29 | 31 | <ButtonStyled color="brand">
|
30 | 32 | <button @click="installUpdateNow">
|
31 | 33 | <DownloadIcon />
|
32 |
| - {{ |
33 |
| - formatMessage(messages.tryAgain) |
34 |
| - }} |
| 34 | + {{ formatMessage(messages.tryAgain) }} |
35 | 35 | </button>
|
36 | 36 | </ButtonStyled>
|
37 | 37 | <ButtonStyled>
|
@@ -74,13 +74,7 @@ import { defineMessages, useVIntl } from '@vintl/vintl'
|
74 | 74 | import { useTemplateRef, ref, computed } from 'vue'
|
75 | 75 | import { AppearingProgressBar, ButtonStyled, JoinedButtons } from '@modrinth/ui'
|
76 | 76 | import type { JoinedButtonAction } from '@modrinth/ui'
|
77 |
| -import { |
78 |
| - ExternalIcon, |
79 |
| - DownloadIcon, |
80 |
| - RightArrowIcon, |
81 |
| - RedoIcon, |
82 |
| - ClipboardCopyIcon, |
83 |
| -} from '@modrinth/assets' |
| 77 | +import { ExternalIcon, DownloadIcon, RedoIcon, ClipboardCopyIcon } from '@modrinth/assets' |
84 | 78 | import { enqueueUpdateForInstallation, getUpdateSize } from '@/helpers/utils'
|
85 | 79 | import { formatBytes } from '@modrinth/utils'
|
86 | 80 | import { handleError } from '@/store/notifications'
|
|
0 commit comments