Fix build errors

This commit is contained in:
Jobobby04 2021-09-12 14:47:48 -04:00
parent 5c3326e47d
commit 3b0523268a
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class WhatsNewDialogController : DialogController() {
val activity = activity!!
val view = WhatsNewRecyclerView(activity)
return MaterialAlertDialogBuilder(activity)
.setTitle(if (BuildConfig.DEBUG /* SY --> */ || syDebugVersion != "0" /* SY <-- */) R.string.notices else R.string.whats_new)
.setTitle(R.string.whats_new)
.setView(view)
.setPositiveButton(android.R.string.cancel, null)
.create()

View File

@ -6,6 +6,7 @@ import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.data.updater.AppUpdateChecker
import eu.kanade.tachiyomi.data.updater.AppUpdateResult
import eu.kanade.tachiyomi.ui.base.controller.NoAppBarElevationController
import eu.kanade.tachiyomi.ui.base.controller.openInBrowser
import eu.kanade.tachiyomi.ui.base.controller.withFadeTransaction
import eu.kanade.tachiyomi.ui.main.WhatsNewDialogController
import eu.kanade.tachiyomi.ui.more.licenses.LicensesController