mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-09 19:10:42 +00:00
No Issue: Fix Lint Issues Downloads Manager
This commit is contained in:
parent
99fab556f4
commit
3c0334141c
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
/* 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
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
/* 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
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
@ -16,7 +16,13 @@ import mozilla.components.lib.state.Store
|
|||||||
* @property size The size in bytes of the download item
|
* @property size The size in bytes of the download item
|
||||||
* @property contentType The type of file the download is
|
* @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.
|
* The [Store] for holding the [DownloadFragmentState] and applying [DownloadFragmentAction]s.
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
/* 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
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
Loading…
Reference in New Issue
Block a user