Skip to content

Commit

Permalink
No weird formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Apr 30, 2024
1 parent 26aace2 commit 127edd8
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions applications/main/archive/helpers/archive_browser.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,28 @@ static const char* tab_default_paths[] = {
};

static const char* known_ext[] = {
[ArchiveFileTypeIButton] = ".ibtn", [ArchiveFileTypeNFC] = ".nfc",
[ArchiveFileTypeSubGhz] = ".sub", [ArchiveFileTypeLFRFID] = ".rfid",
[ArchiveFileTypeInfrared] = ".ir", [ArchiveFileTypeSubghzPlaylist] = ".txt",
[ArchiveFileTypeSubghzRemote] = ".txt", [ArchiveFileTypeInfraredRemote] = ".txt",
[ArchiveFileTypeBadKb] = ".txt", [ArchiveFileTypeWAV] = ".wav",
[ArchiveFileTypeMag] = ".mag", [ArchiveFileTypeU2f] = "?",
[ArchiveFileTypeApplication] = ".fap", [ArchiveFileTypeJS] = ".js",
[ArchiveFileTypeSearch] = "*", [ArchiveFileTypeUpdateManifest] = ".fuf",
[ArchiveFileTypeDiskImage] = ".img", [ArchiveFileTypeFolder] = "?",
[ArchiveFileTypeUnknown] = "*", [ArchiveFileTypeAppOrJs] = ".fap|.js",
// clang-format off
[ArchiveFileTypeIButton] = ".ibtn",
[ArchiveFileTypeNFC] = ".nfc",
[ArchiveFileTypeSubGhz] = ".sub",
[ArchiveFileTypeLFRFID] = ".rfid",
[ArchiveFileTypeInfrared] = ".ir",
[ArchiveFileTypeSubghzPlaylist] = ".txt",
[ArchiveFileTypeSubghzRemote] = ".txt",
[ArchiveFileTypeInfraredRemote] = ".txt",
[ArchiveFileTypeBadKb] = ".txt",
[ArchiveFileTypeWAV] = ".wav",
[ArchiveFileTypeMag] = ".mag",
[ArchiveFileTypeU2f] = "?",
[ArchiveFileTypeApplication] = ".fap",
[ArchiveFileTypeJS] = ".js",
[ArchiveFileTypeSearch] = "*",
[ArchiveFileTypeUpdateManifest] = ".fuf",
[ArchiveFileTypeDiskImage] = ".img",
[ArchiveFileTypeFolder] = "?",
[ArchiveFileTypeUnknown] = "*",
[ArchiveFileTypeAppOrJs] = ".fap|.js",
// clang-format on
};

static const ArchiveFileTypeEnum known_type[] = {
Expand Down

0 comments on commit 127edd8

Please sign in to comment.