From a98ab11c18ffa395cc2ca1d57e94033708106bd2 Mon Sep 17 00:00:00 2001 From: First-Terraner Date: Thu, 29 Feb 2024 15:17:33 +0100 Subject: [PATCH] remove unused code --- src/model/github.ts | 57 -------------------------- src/screens/Restore/RestoreWarning.tsx | 6 --- 2 files changed, 63 deletions(-) delete mode 100644 src/model/github.ts diff --git a/src/model/github.ts b/src/model/github.ts deleted file mode 100644 index 8cd0d42b..00000000 --- a/src/model/github.ts +++ /dev/null @@ -1,57 +0,0 @@ -export interface GithubLatest { - url: string - assets_url: string - upload_url: string - html_url: string - id: number - author: Author - node_id: string - tag_name: string - target_commitish: string - name: string - draft: boolean - prerelease: boolean - created_at: Date - published_at: Date - assets: Asset[] - tarball_url: string - zipball_url: string - body: string -} - -export interface Asset { - url: string - id: number - node_id: string - name: string - label: null - uploader: Author - content_type: string - state: string - size: number - download_count: number - created_at: Date - updated_at: Date - browser_download_url: string -} - -export interface Author { - login: string - id: number - node_id: string - avatar_url: string - gravatar_id: string - url: string - html_url: string - followers_url: string - following_url: string - gists_url: string - starred_url: string - subscriptions_url: string - organizations_url: string - repos_url: string - events_url: string - received_events_url: string - type: string - site_admin: boolean -} \ No newline at end of file diff --git a/src/screens/Restore/RestoreWarning.tsx b/src/screens/Restore/RestoreWarning.tsx index 1b4db90f..9a55c38a 100644 --- a/src/screens/Restore/RestoreWarning.tsx +++ b/src/screens/Restore/RestoreWarning.tsx @@ -46,12 +46,6 @@ export default function RestoreWarningScreen({ navigation, route }: IRestoreWarn - {/* beta */} - {/* - - - - */}