Logo
Explore Help
Register Sign In
carrot_bbs/frontend
3
0
Fork 0
You've already forked frontend
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
c06463f576c031ceaa3fa73cb09f677820cb8f0a
frontend/app/(app)/(tabs)/profile/data-storage.tsx

6 lines
149 B
TypeScript
Raw Normal View History

feat(profile): add data storage settings screen with cache management Add DataStorageScreen for managing media cache and storage: - Display cache statistics (image/video/audio counts and sizes) - Show AsyncStorage usage information - Add clear all cache functionality - Add cleanup expired cache option (7 days threshold) - Add storage usage breakdown by category - Add "Last cleaned" timestamp display Also fix MediaCacheManager to skip native cache operations on web platform: - Return original URI directly on web without caching - Skip directory creation on web - Skip file existence checks on web - Skip startup and periodic cleanup on web
2026-04-07 16:27:02 +08:00
import { DataStorageScreen } from '../../../../src/screens/profile';
export default function DataStorageRoute() {
return <DataStorageScreen />;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 25.6.2 Page: 84ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API