Skip to content

Commit

Permalink
Delete attribute bottom sheet is overlapping (#460)
Browse files Browse the repository at this point in the history
* fix: commas

* fix: allow bigger bottom sheet
  • Loading branch information
jkoenig134 authored Feb 28, 2025
1 parent b641661 commit e7e10d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
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

0 comments on commit e7e10d8

Please sign in to comment.