2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] No Issue: Fix Lint Issues Downloads Manager

This commit is contained in:
Kate Glazko 2020-08-19 14:48:22 -07:00 committed by kglazko
parent 4836894fd0
commit e0e3bd7889
4 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

View File

@ -1,4 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

View File

@ -16,7 +16,13 @@ import mozilla.components.lib.state.Store
* @property size The size in bytes of the download item
* @property contentType The type of file the download is
*/
data class DownloadItem(val id: Long, val fileName: String?, val filePath: String, val size: String, val contentType: String?)
data class DownloadItem(
val id: Long,
val fileName: String?,
val filePath: String,
val size: String,
val contentType: String?
)
/**
* The [Store] for holding the [DownloadFragmentState] and applying [DownloadFragmentAction]s.

View File

@ -1,5 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */