Skip to content

Conversation

NathanBaulch
Copy link
Contributor

Format file sizes for readability and remove the no longer used Text.Bytes resource.
I wasn't sure whether to create LongConverters (named after the data type) or FileSizeConverters (named after the purpose).
I'm not experienced with Avalonia so wasn't sure if a <StackPanel> container containing only a single <TextBlock> should be removed.

@love-linger love-linger self-assigned this Jul 7, 2025
@love-linger love-linger added the enhancement New feature or request label Jul 7, 2025
@love-linger love-linger merged commit c987a28 into sourcegit-scm:develop Jul 7, 2025
13 checks passed
@NathanBaulch NathanBaulch deleted the filesizes branch July 7, 2025 05:19
love-linger added a commit that referenced this pull request Jul 7, 2025
- The highest unit of file size is `GB`.
- Always display the original number of bytes.

Signed-off-by: leo <longshuang@msn.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants