1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-21 18:42:35 +01:00

Fix line length violation

This commit is contained in:
Elva Kang 2024-10-24 16:04:53 +11:00
parent 1ed4928f40
commit 0190bcee25

View File

@ -114,7 +114,7 @@ public enum StreamDialogDefaultEntry {
fetchStreamInfoAndSaveToDatabase(fragment.requireContext(), item.getServiceId(), fetchStreamInfoAndSaveToDatabase(fragment.requireContext(), item.getServiceId(),
item.getUrl(), info -> { item.getUrl(), info -> {
// Ensure the fragment is attached and its state hasn't been saved to avoid // Ensure the fragment is attached and its state hasn't been saved to avoid
// showing the dialog during lifecycle changes or when the activity is paused. // showing dialog during lifecycle changes or when the activity is paused.
if (fragment.isAdded() && !fragment.isStateSaved()) { if (fragment.isAdded() && !fragment.isStateSaved()) {
final DownloadDialog downloadDialog = final DownloadDialog downloadDialog =
new DownloadDialog(fragment.requireContext(), info); new DownloadDialog(fragment.requireContext(), info);