Skip to content

Commit

Permalink
test: removed comment that was cause github action to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
DE7924 committed Oct 10, 2024
1 parent 4c5dc3d commit 5abb279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/src/components/avatars/avatar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,7 @@ class ZetaAvatar extends ZetaStatelessWidget {
..add(DiagnosticsProperty<TextStyle>('initialTextStyle', initialTextStyle));
}

//TODO BK butchered this to make pixelSize reusable. Mike, is this ok?
///
/// Returns pixel size for [ZetaAvatarSize]
static double pixelSize(BuildContext context, ZetaAvatarSize size) {
switch (size) {
case ZetaAvatarSize.xxxl:
Expand Down
2 changes: 1 addition & 1 deletion test/src/components/avatar/avatar_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ void main() {
final typeSize = ZetaAvatar.pixelSize(
tester.element(find.byType(ZetaAvatar)),
size,
); //TODO BK butchered this to make pixelSize reusable. Mike, is this ok?
);

expect(avatarSize.width, equals(typeSize));
expect(avatarSize.height, equals(typeSize));
Expand Down

0 comments on commit 5abb279

Please sign in to comment.