ELECTRON-293: remove notification limit of 5 and match it with screen size

This commit is contained in:
Vishwas Shashidhar 2018-03-06 20:58:28 +05:30
parent 2c673248a6
commit 83d62350e1

View File

@ -283,7 +283,6 @@ function setupConfig() {
// Maximum amount of Notifications we can show:
config.maxVisibleNotifications = Math.floor(display.workAreaSize.height / config.totalHeight);
config.maxVisibleNotifications = config.maxVisibleNotifications > 5 ? 5 : config.maxVisibleNotifications;
}
/**