Removed 'ignore touhidurr notifications'
Some checks failed
Conflict marking / main (push) Failing after 14s
Detekt / detekt (ubuntu-latest) (push) Failing after 1m7s
Generate mkdocs from docs folder / deploy (push) Failing after 43s
Build and test / Check code and run unit tests (push) Failing after 6m9s
Close stale issues and PRs / stale (push) Successful in 11s
Docker / build (push) Failing after 1m4s

This commit is contained in:
yairm210 2024-12-09 19:55:20 +02:00
parent 66f9ed549b
commit 07262f6026

View File

@ -204,8 +204,6 @@ class NotificationsScroll(
Align.bottomRight)
}
private val serverIconsToIgnore = hashSetOf("NotificationIcons/RobotArm", "NotificationIcons/ServerRack", "NotificationIcons/DollarSign")
private fun updateContent(
notifications: List<Notification>,
coveredNotificationsTop: Float,
@ -266,9 +264,6 @@ class NotificationsScroll(
notificationsTable.add(header).right().row()
}
for (notification in categoryNotifications) {
if (worldScreen.gameInfo.turns % 10 != 0 // Allow touhidurrr notifications every 10 turns
&& notification.icons.any { it in serverIconsToIgnore }) continue
val item = ListItem(notification, backgroundDrawable)
itemWidths.add(item.itemWidth)
val itemCell = notificationsTable.add(item)