Skip to content

Commit 8cd7074

Browse files
authored
ui: refactor max file size description for clarity
1 parent 71a46a0 commit 8cd7074

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/ui/maps/submit/submit_map.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,8 @@ export const SubmitMap = observer((props: { id?: string }) => {
131131
│ ├─ ...`}
132132
</T.Medium>
133133
<T.Medium>
134-
The maximum file size scales with the length of your song, up to{' '}
135-
{formatMaxFileSize(MAX_MAP_FILE_SIZE)}: a 5 minute song gets{' '}
136-
{formatMaxFileSize(maxMapFileSize(5 * 60))}, which fits lossless audio, and a 30 minute one
137-
gets {formatMaxFileSize(maxMapFileSize(30 * 60))}. Longer songs get proportionally less per
138-
minute, so they will need lossy audio (Opus, AAC or MP3).
134+
Max file size scales with song length, up to a cap of {formatMaxFileSize(MAX_MAP_FILE_SIZE)}.
135+
A 5 minute song gets ~{formatMaxFileSize(maxMapFileSize(5 * 60))}, and a 1 hour song gets ~{formatMaxFileSize(maxMapFileSize(30 * 60))}.
139136
</T.Medium>
140137
{showProgressScreen ? (
141138
<div className={classNames(styles.fileContainer, styles.hasMapData, styles.isSubmitting)}>

0 commit comments

Comments
 (0)