Skip to content

Commit

Permalink
Show all tabs available
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedol committed Jun 17, 2024
1 parent 4252666 commit 9864d9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ data class CaptureResults(
tabs.forEachIndexed { tabIndex, tab ->
// <li class="tab col s3"><a href="#test1">Test 1</a></li>
val activeClass = if (tabIndex == 0) """class="active" """ else ""
append("""<li class="tab col s3"><a $activeClass href="#${tab.id}">${tab.title}</a></li>""")
append("""<li class="tab"><a $activeClass href="#${tab.id}">${tab.title}</a></li>""")
}
append("</ul>\n</div>")
tabs.forEach { tab ->
Expand Down

0 comments on commit 9864d9d

Please sign in to comment.