Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/calm-fireants-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"status.app": patch
---

Revert "revert status-mobile rename to status-legacy (#881)"
5 changes: 0 additions & 5 deletions .changeset/twelve-cameras-give.md

This file was deleted.

2 changes: 1 addition & 1 deletion apps/status.app/src/app/(website)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default async function WebsiteLayout(props: Props) {
const { children } = props

const [mobileRelease, desktopRelease] = await Promise.all([
getLatestRelease({ repo: 'status-mobile' }),
getLatestRelease({ repo: 'status-legacy' }),
getLatestRelease({ repo: 'status-app' }),
]).catch(error => {
console.error('Failed to fetch GitHub releases', error)
Expand Down
2 changes: 1 addition & 1 deletion apps/status.app/src/app/api/download/[platform]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export async function GET(
if (platform === 'android') {
const release = await octokit.repos.getLatestRelease({
owner: 'status-im',
repo: 'status-mobile',
repo: 'status-legacy',
})

await track('Download', {
Expand Down
2 changes: 1 addition & 1 deletion apps/status.app/src/server/lib/insights/milestones.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function getMilestones() {
_or: [
{
repository: {
_eq: 'status-im/status-mobile',
_eq: 'status-im/status-legacy',
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion apps/status.app/src/server/services/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const octokit = new Octokit({

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

type Repo = 'status-mobile' | 'status-app'
type Repo = 'status-legacy' | 'status-app'

export async function getLatestRelease({ repo }: { repo: Repo }) {
const release = await octokit.rest.repos.getLatestRelease({
Expand Down
Loading