Add view of ignored users and allow unignoring them

This commit is contained in:
Tobias Fella
2024-02-21 18:06:08 +01:00
parent 8ae92ff4d4
commit e95f191dc6
3 changed files with 90 additions and 0 deletions

View File

@@ -33,4 +33,22 @@ FormCard.FormCardPage {
description: i18n("Device id")
}
}
FormCard.FormHeader {
title: i18nc("@title:group", "Ignored Users")
}
FormCard.FormCard {
FormCard.FormButtonDelegate {
text: i18nc("@action:button", "Manage ignored users")
onClicked: pageStack.pushDialogLayer(ignoredUsersDialogComponent, {}, {
title: i18nc("@title:window", "Ignored Users")
});
}
}
Component {
id: ignoredUsersDialogComponent
IgnoredUsersDialog {
connection: root.connection
}
}
}