0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00

NF: nonNullable arg in getAboutAnkiDroidHtml

This is called twice with non null values.
This commit is contained in:
Arthur Milchior 2022-05-29 12:13:39 +02:00 committed by Mike Hardy
parent 9256688218
commit 572679fd73

View File

@ -171,7 +171,7 @@ class Info : AnkiActivity() {
const val TYPE_NEW_VERSION = 2
@JvmStatic
@VisibleForTesting
fun getAboutAnkiDroidHtml(res: Resources, textColor: String?): String {
fun getAboutAnkiDroidHtml(res: Resources, textColor: String): String {
val sb = StringBuilder()
fun append(@Language("HTML") html: String) = sb.append(html)