Skip to content

Commit f79c133

Browse files
authored
revert status-mobile rename to status-legacy (#881)
* revert status-mobile rename to status-legacy * Revert status-mobile rename to status-legacy Revert the rename of 'status-mobile' to 'status-legacy'.
1 parent 4750dd0 commit f79c133

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

.changeset/twelve-cameras-give.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"status.app": patch
3+
---
4+
5+
revert status-mobile rename to status-legacy

apps/status.app/src/app/(website)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default async function WebsiteLayout(props: Props) {
1818
const { children } = props
1919

2020
const [mobileRelease, desktopRelease] = await Promise.all([
21-
getLatestRelease({ repo: 'status-legacy' }),
21+
getLatestRelease({ repo: 'status-mobile' }),
2222
getLatestRelease({ repo: 'status-app' }),
2323
]).catch(error => {
2424
console.error('Failed to fetch GitHub releases', error)

apps/status.app/src/app/api/download/[platform]/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export async function GET(
3535
if (platform === 'android') {
3636
const release = await octokit.repos.getLatestRelease({
3737
owner: 'status-im',
38-
repo: 'status-legacy',
38+
repo: 'status-mobile',
3939
})
4040

4141
await track('Download', {

apps/status.app/src/server/lib/insights/milestones.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export async function getMilestones() {
4747
_or: [
4848
{
4949
repository: {
50-
_eq: 'status-im/status-legacy',
50+
_eq: 'status-im/status-mobile',
5151
},
5252
},
5353
{

apps/status.app/src/server/services/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const octokit = new Octokit({
1010

1111
export type GitHubRelease = Awaited<ReturnType<typeof getLatestRelease>>
1212

13-
type Repo = 'status-legacy' | 'status-app'
13+
type Repo = 'status-mobile' | 'status-app'
1414

1515
export async function getLatestRelease({ repo }: { repo: Repo }) {
1616
const release = await octokit.rest.repos.getLatestRelease({

0 commit comments

Comments
 (0)