chore: merge branch dev to main (#143)

This commit is contained in:
oSumAtrIX 2023-07-10 20:32:19 +02:00 committed by GitHub
commit 34d6d07a3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,7 @@
>
<div class="things">
<div class="title">
<h3>{friendlyName(patch.name)}</h3>
<h3>{patch.name}</h3>
</div>
{#if hasPatchOptions}
<img id="arrow" src="/icons/arrow.svg" alt="dropdown" />

View File

@ -2,7 +2,6 @@ export function friendlyName(text: string): string {
return text
.replace(/-/g, ' ')
.replace(/revanced\/revanced/g, 'ReVanced')
.replace(/revanced/g, 'ReVanced')
.replace(/\bcli\b/g, 'CLI')
.replace(/api/g, 'API')
.replace(/(?:^|\s)\S/g, (x: string) => x.toUpperCase());