Name Description Size Coverage
dialog -
DownloadService.kt 2460 -
DownloadSnackbar.kt Manages the display of snackbars related to download status changes. @param store The [BrowserStore] instance to observe download states from. @param appStore The [AppStore] instance to dispatch snackbar-related actions to. @param mainDispatcher The [CoroutineDispatcher] to use for main-thread operations. 2674 -
DownloadsScreenTestTag.kt 538 -
DownloadsUtils.kt Generates a user-facing error message indicating that a downloaded file cannot be opened because no application is available to handle its file type. @param context The Context used to access string resources. @param filePath The file path of the downloaded file. @return A formatted string message. For example, "No app found to open .pdf files". 1013 -
listscreen -
RenameAndChangeLocationDialogContent.kt Composable content for the rename and change location dialog. @param dialogState The current state of the dialog. @param friendlyPath A user-friendly, shortened path string to be displayed in the UI. @param title The title text displayed at the top of the dialog. @param onFileNameChange Callback when file name is changed. @param onDirectorySelect Callback when directory selection is triggered. @param onConfirm Callback when user confirms the dialog. @param onCancel Callback when user cancels the dialog. 9486 -
RenameAndChangeLocationDialogFragment.kt Dialog fragment for renaming downloaded files and changing their save location. This fragment provides a UI for users to: - Modify the file name before download - Select the directory where the file will be saved - Confirm or cancel the download The callback [onConfirmSave] is invoked with the final file name and directory path. 8943 -