We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7264827 commit 2094ef9Copy full SHA for 2094ef9
app/src/main/java/guide/graphql/toc/ui/chapters/ChaptersFragment.kt
@@ -57,7 +57,7 @@ class ChaptersFragment : Fragment() {
57
chapterNumber = chapter.number?.toInt() ?: -1,
58
chapterTitle = if (chapter.number == null) chapter.title else getString(
59
R.string.chapter_title,
60
- chapter.number.toString(),
+ chapter.number.toInt().toString(),
61
chapter.title
62
)
63
0 commit comments