1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-28 21:10:31 +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(),
item.getUrl(), info -> {
// 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()) {
final DownloadDialog downloadDialog =
new DownloadDialog(fragment.requireContext(), info);