Skip to content

Commit

Permalink
Add presentations icon into adapter (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
HectorNarvaez committed Jun 13, 2023
1 parent c01806c commit 51d6a84
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class FileAdapter(
"https://drive-thirdparty.googleusercontent.com/32/type/application/vnd.google-apps.document"
private const val URL_SHEET =
"https://drive-thirdparty.googleusercontent.com/32/type/application/vnd.google-apps.spreadsheet"
private const val URL_PRESENTATION =
"https://drive-thirdparty.googleusercontent.com/32/type/application/vnd.google-apps.presentation"
private const val URL_PDF =
"https://drive-thirdparty.googleusercontent.com/32/type/application/pdf"
private const val URL_PNG =
Expand All @@ -49,6 +51,10 @@ class FileAdapter(
OmhFileType.MICROSOFT_EXCEL,
OmhFileType.OPEN_DOCUMENT_SPREADSHEET -> URL_SHEET

OmhFileType.PRESENTATION,
OmhFileType.MICROSOFT_POWERPOINT,
OmhFileType.OPEN_DOCUMENT_PRESENTATION -> URL_PRESENTATION

OmhFileType.PNG -> URL_PNG

OmhFileType.ZIP -> URL_ZIP
Expand Down

0 comments on commit 51d6a84

Please sign in to comment.