zhanghai / zhanghai/MaterialFiles

[Feature Request] Allow to display file size in KiB, MiB, GiB, etc.

Open
#1,438 0 comments 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.