Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete attribute bottom sheet is overlapping #460

Merged
merged 2 commits into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions apps/enmeshed/lib/core/modals/delete_attribute.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ Future<void> showDeleteAttributeModal({
}) async {
await showModalBottomSheet<void>(
context: context,
isScrollControlled: true,
builder:
(context) =>
_DeleteConfirmation(accountId: accountId, onAttributeDeleted: onAttributeDeleted, attribute: attribute as RepositoryAttributeDVO),
(context) => ConstrainedBox(
constraints: BoxConstraints(maxHeight: MediaQuery.of(context).size.height * 0.9),
child: _DeleteConfirmation(accountId: accountId, onAttributeDeleted: onAttributeDeleted, attribute: attribute as RepositoryAttributeDVO),
),
);
}

Expand Down
2 changes: 1 addition & 1 deletion apps/enmeshed/lib/l10n/app_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@
}
}
},
"personalData_details_deleteDescriptionShared": "{count, plural, =1{Der Eintrag <bold>{entry}</bold> wird aktuell mit einem Kontakt geteilt. Wenn Sie den Eintrag löschen wird dieser auch bei dem Kontakt gelöscht, mit dem Sie ihn teilen.} other{Der Eintrag <bold>{entry}</bold> wird aktuell mit {count} Kontakten geteilt. Wenn Sie den Eintrag löschen wird dieser auch bei den Kontakten gelöscht, mit denen Sie ihn teilen.}}",
"personalData_details_deleteDescriptionShared": "{count, plural, =1{Der Eintrag <bold>{entry}</bold> wird aktuell mit einem Kontakt geteilt. Wenn Sie den Eintrag löschen, wird dieser auch bei dem Kontakt gelöscht, mit dem Sie ihn teilen.} other{Der Eintrag <bold>{entry}</bold> wird aktuell mit {count} Kontakten geteilt. Wenn Sie den Eintrag löschen, wird dieser auch bei den Kontakten gelöscht, mit denen Sie ihn teilen.}}",
"@personalData_details_deleteDescriptionShared": {
"placeholders": {
"count": {
Expand Down