zhanghai / zhanghai/MaterialFiles
[Feature Request] Allow to display file size in KiB, MiB, GiB, etc.
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 9k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
Currently, MaterialFiles display file size in KB (10^3 B), MB (10^6 B), etc. But I would like to see file size in KiB (2^10 B), MiB (2^20 B), etc., which matches what I see on my PC. I do not expect the changing of default behavior, a setting item is sufficient for me.
I do not want to discuss "which one is right", but it is always good to let users choose what they want in the setting.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating where MaterialFiles formats and displays file sizes, then find the settings implementation that controls display preferences. Done means users can choose binary units such as KiB, MiB, and GiB while the existing decimal default remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100