Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/assets/fonts/selection.json

Large diffs are not rendered by default.

Binary file modified lib/assets/fonts/zds.ttf
Binary file not shown.
5 changes: 3 additions & 2 deletions lib/src/utils/assets/icons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ class ZdsIcons {
static const IconData fullscreen = IconData(0xe972, fontFamily: _fontFamily, fontPackage: packageName);
static const IconData fullscreen_exit = IconData(0xe971, fontFamily: _fontFamily, fontPackage: packageName);
static const IconData funnel = IconData(0xe919, fontFamily: _fontFamily, fontPackage: packageName);
static const IconData filePresent = IconData(0xea1a, fontFamily: _fontFamily);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KG3497 This icon is not working for me, I am seeing this error:
image

static const IconData globe = IconData(0xe9e2, fontFamily: _fontFamily, fontPackage: packageName);
static const IconData glossary = IconData(0xe901, fontFamily: _fontFamily, fontPackage: packageName);
static const IconData grid = IconData(0xe973, fontFamily: _fontFamily, fontPackage: packageName);
Expand Down Expand Up @@ -477,8 +478,8 @@ extension IconDataFromExt on String {
///
/// If the string does not contain a file type, or contains an unrecognized filetype, [ZdsIcons.file_o] will be returned.
IconData fileIcon() {
if (isEmpty) return ZdsIcons.file_o;
return _extensions[_safeExt] ?? ZdsIcons.file_o;
if (isEmpty) return ZdsIcons.filePresent;
return _extensions[_safeExt] ?? ZdsIcons.filePresent;
}

@Deprecated('Use fileIconColor instead.')
Expand Down