Worktree ios support #3

Merged
ayushya merged 31 commits from worktree-ios-support into main 2026-10-07 23:23:00 -04:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit 2e5fc4723a - Show all commits
+3 -1
View File
@@ -79,7 +79,9 @@ class _AvatarMenuContentState extends State<_AvatarMenuContent> {
child: SafeArea( child: SafeArea(
bottom: false, bottom: false,
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(horizontal: NooSpace.md), // Same side inset as the Files list's rows (`NooSpace.sm`), so the
// card is as wide as the list beneath it.
padding: const EdgeInsets.symmetric(horizontal: NooSpace.sm),
child: SizedBox( child: SizedBox(
width: double.infinity, width: double.infinity,
child: Container( child: Container(
+4
View File
@@ -219,5 +219,9 @@ void main() {
tester.getTopRight(row).dx - tester.getTopRight(avatar).dx, tester.getTopRight(row).dx - tester.getTopRight(avatar).dx,
NooSpace.md, NooSpace.md,
); );
// The card is as wide as the Files list's rows: inset NooSpace.sm from
// each screen edge, less its 1px border and 1px inner padding per side.
final screenWidth = tester.getSize(find.byType(MaterialApp)).width;
expect(tester.getSize(row).width, screenWidth - 2 * NooSpace.sm - 4);
}); });
} }