Support Paused manga state

pull/569/head
Koitharu 2 years ago
parent c213b9d4b5
commit ca20422344
Signed by: Koitharu
GPG Key ID: 676DEE768C17A9D7

@ -197,6 +197,11 @@ class DetailsFragment :
drawableTop = ContextCompat.getDrawable(context, R.drawable.ic_state_abandoned)
}
MangaState.PAUSED -> infoLayout.textViewState.apply {
textAndVisible = resources.getString(R.string.state_paused)
drawableTop = ContextCompat.getDrawable(context, R.drawable.ic_action_pause)
}
null -> infoLayout.textViewState.isVisible = false
}
if (manga.source == MangaSource.LOCAL) {

@ -526,4 +526,5 @@
<string name="manual">Manual</string>
<string name="available_d">Available: %1$d</string>
<string name="disable_nsfw_summary">Disable NSFW sources and hide adult manga from list if possible</string>
<string name="state_paused">Paused</string>
</resources>

Loading…
Cancel
Save