You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app currently has **6056** manual pages, **22+** basic categories and a bunch of general terminal tips. It works 100% offline, doesn't need an internet connection and has no tracking software.
5
+
The app currently has **6488** manual pages, **22+** basic categories and a bunch of general terminal tips. It works 100% offline, doesn't need an internet connection and has no tracking software.
Copy file name to clipboardExpand all lines: android/src/main/java/com/inspiredandroid/linuxcommandbibliotheca/ui/screens/basicgroups/BasicGroupsScreen.kt
Copy file name to clipboardExpand all lines: android/src/main/java/com/inspiredandroid/linuxcommandbibliotheca/ui/screens/commanddetail/CommandDetailScreen.kt
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -58,10 +58,10 @@ fun CommandDetailScreen(
58
58
}
59
59
60
60
@Composable
61
-
funCommandSectionColumn(
61
+
privatefunCommandSectionColumn(
62
62
viewModel:CommandDetailViewModel,
63
63
section:CommandSection,
64
-
onNavigate: (String) ->Unit = {},
64
+
onNavigate: (String) ->Unit,
65
65
) {
66
66
ListItem(
67
67
text = {
@@ -81,9 +81,10 @@ fun CommandSectionColumn(
81
81
Column(
82
82
modifier =Modifier.padding(start =16.dp, end =16.dp),
83
83
) {
84
+
println(section.content)
84
85
val tldrParts = section.content.split("<b>")
85
86
tldrParts.forEachIndexed { index, s ->
86
-
val split = s.split("</b><br>")
87
+
val split = s.split("</b>")
87
88
if (split.size >1) {
88
89
Text(
89
90
text = split[0],
@@ -101,14 +102,14 @@ fun CommandSectionColumn(
101
102
}
102
103
}
103
104
} else {
104
-
val color =MaterialTheme.colors.onSurface
105
+
val color =MaterialTheme.colors.onSurface.toArgb()
0 commit comments