mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 23:42:51 -05:00
auto-focus first notification on modal when opened
This commit is contained in:
@@ -27,6 +27,7 @@ DankModal {
|
|||||||
modalKeyboardController.updateSelectedIdFromIndex()
|
modalKeyboardController.updateSelectedIdFromIndex()
|
||||||
if (notificationListRef) {
|
if (notificationListRef) {
|
||||||
notificationListRef.keyboardActive = true
|
notificationListRef.keyboardActive = true
|
||||||
|
notificationListRef.currentIndex = 0
|
||||||
}
|
}
|
||||||
modalKeyboardController.selectionVersion++
|
modalKeyboardController.selectionVersion++
|
||||||
modalKeyboardController.ensureVisible()
|
modalKeyboardController.ensureVisible()
|
||||||
|
|||||||
Reference in New Issue
Block a user