1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

auto-focus first notification on modal when opened

This commit is contained in:
bbedward
2025-09-21 21:01:35 -04:00
parent c464bb3e47
commit 8fb17f7fd5

View File

@@ -27,6 +27,7 @@ DankModal {
modalKeyboardController.updateSelectedIdFromIndex()
if (notificationListRef) {
notificationListRef.keyboardActive = true
notificationListRef.currentIndex = 0
}
modalKeyboardController.selectionVersion++
modalKeyboardController.ensureVisible()