mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-22 23:44:24 +07:00
Temporarily ignore touhidurr notifications - bad user experience
This commit is contained in:
parent
66b6be5858
commit
855479fe7a
@ -203,6 +203,8 @@ class NotificationsScroll(
|
||||
coveredNotificationsBottom + restoreButtonPad,
|
||||
Align.bottomRight)
|
||||
}
|
||||
|
||||
private val serverIconsToIgnore = hashSetOf("NotificationIcons/RobotArm", "NotificationIcons/ServerRack", "NotificationIcons/DollarSign")
|
||||
|
||||
private fun updateContent(
|
||||
notifications: List<Notification>,
|
||||
@ -264,6 +266,9 @@ class NotificationsScroll(
|
||||
notificationsTable.add(header).right().row()
|
||||
}
|
||||
for (notification in categoryNotifications) {
|
||||
// Temporarily ignore touhidurrr notifications
|
||||
if (notification.icons.any { it in serverIconsToIgnore }) continue
|
||||
|
||||
val item = ListItem(notification, backgroundDrawable)
|
||||
itemWidths.add(item.itemWidth)
|
||||
val itemCell = notificationsTable.add(item)
|
||||
|
Loading…
Reference in New Issue
Block a user