diff --git a/storage-sample/src/main/java/com/omh/android/storage/sample/presentation/file_viewer/FileAdapter.kt b/storage-sample/src/main/java/com/omh/android/storage/sample/presentation/file_viewer/FileAdapter.kt index 8ecad07d..7b37e28b 100644 --- a/storage-sample/src/main/java/com/omh/android/storage/sample/presentation/file_viewer/FileAdapter.kt +++ b/storage-sample/src/main/java/com/omh/android/storage/sample/presentation/file_viewer/FileAdapter.kt @@ -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 = @@ -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