Skip to content

Commit

Permalink
[-] remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
Heng30 committed Jan 16, 2024
1 parent b93704a commit 6dccb72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 364 deletions.
4 changes: 4 additions & 0 deletions cpnews/src/news.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ use anyhow::{anyhow, Result};
use serde_json::Value;
use std::{fs, path::Path};

#[cfg(target_os = "android")]
const MAX_NEWS_ITEM: usize = 30;

#[cfg(not(target_os = "android"))]
const MAX_NEWS_ITEM: usize = 100;

#[derive(Serialize, Deserialize, Clone, Debug, Default)]
pub struct NewsItem {
pub title: String,
Expand Down
182 changes: 0 additions & 182 deletions news-cn.json

This file was deleted.

Loading

0 comments on commit 6dccb72

Please sign in to comment.