2
0
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:
Kate Glazko 2020-08-19 14:48:22 -07:00 committed by kglazko
parent 99fab556f4
commit 3c0334141c
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 /* 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/. */

View File

@ -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/. */

View File

@ -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.

View File

@ -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/. */