Resource cleanup post-theme removal

This commit is contained in:
arkon
2021-07-04 17:51:15 -04:00
parent 9df721d158
commit 040bac3da2
13 changed files with 24 additions and 43 deletions

View File

@ -35,7 +35,7 @@ abstract class BaseThemedActivity : AppCompatActivity() {
val resIds = mutableListOf<Int>()
when (preferences.appTheme().get()) {
PreferenceValues.AppTheme.BLUE -> {
resIds += R.style.Theme_Tachiyomi_DarkBlue
resIds += R.style.Theme_Tachiyomi_Blue
resIds += R.style.ThemeOverlay_Tachiyomi_ColoredBars
}
PreferenceValues.AppTheme.GREEN_APPLE -> {

View File

@ -94,7 +94,7 @@ fun Context.copyToClipboard(label: String, content: String) {
*/
fun Context.notificationBuilder(channelId: String, block: (NotificationCompat.Builder.() -> Unit)? = null): NotificationCompat.Builder {
val builder = NotificationCompat.Builder(this, channelId)
.setColor(ContextCompat.getColor(this, R.color.accent_lightblue))
.setColor(ContextCompat.getColor(this, R.color.accent_blue))
if (block != null) {
builder.block()
}