From 3c7b026d7d9afbb90ea41fd99bd093396d0e1e91 Mon Sep 17 00:00:00 2001
From: "Thiago F. G. Albuquerque" <thiagofga@gmail.com>
Date: Tue, 25 Feb 2025 20:23:07 -0300
Subject: [PATCH] [#11930] Updating javadoc

---
 .../local/playlist/LocalPlaylistFragment.java | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/app/src/main/java/org/schabi/newpipe/local/playlist/LocalPlaylistFragment.java b/app/src/main/java/org/schabi/newpipe/local/playlist/LocalPlaylistFragment.java
index 61c12bfd4..de1aabb9c 100644
--- a/app/src/main/java/org/schabi/newpipe/local/playlist/LocalPlaylistFragment.java
+++ b/app/src/main/java/org/schabi/newpipe/local/playlist/LocalPlaylistFragment.java
@@ -388,16 +388,15 @@ public class LocalPlaylistFragment extends BaseLocalListFragment<List<PlaylistSt
         return true;
     }
 
-    /**
-     * FIXME update this
-     *
-     * Shares the playlist as a list of stream URLs if {@code shareMode} is
-     * set to {@code false}. Shares the playlist name along with a list of video titles and URLs
-     * if {@code shareMode} is set to {@code true}.
-     *
-     * @param shareMode Whether the playlist details should be included in the
-     *                  shared content.
-     */
+    ///
+    /// Shares the playlist in one of 3 ways, depending on the value of `shareMode`:
+    ///
+    /// - `JUST_URLS`: shares the URLs only.
+    /// - `WITH_TITLES`: each entry in the list is accompanied by its title.
+    /// - `YOUTUBE_TEMP_PLAYLIST`: shares as a YouTube temporary playlist.
+    ///
+    ///  @param shareMode The way the playlist should be shared.
+    ///
     private void sharePlaylist(final PlayListShareMode shareMode) {
         final Context context = requireContext();