Skip to content

Commit d7f5f48

Browse files
klopez4212Terp
andcommitted
fix(mobile): refine unread dot position over bell
Move the outlined dot one further point down and two left. Co-authored-by: Terp <5856f6900e8e0a4e0ea1f4f8d2ee33e4753d2119bc122f94ecafc660b46c0511@buzz.block.builderlab.xyz> Signed-off-by: kenny lopez <[email protected]>
1 parent 9093527 commit d7f5f48

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎mobile/lib/features/home/home_page.dart‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ class HomePage extends HookConsumerWidget {
169169
clipBehavior: Clip.none,
170170
children: [
171171
Positioned(
172-
top: -2,
173-
right: 1,
172+
top: -1,
173+
right: 3,
174174
child: Container(
175175
key: const Key('home-inbox-dot'),
176176
width: 8,

‎mobile/test/features/home/home_page_test.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ void main() {
323323
expect(
324324
tester.getCenter(find.byKey(const Key('home-inbox-dot'))) -
325325
tester.getTopLeft(find.byKey(const Key('home-inbox-badge'))),
326-
const Offset(19, 2),
326+
const Offset(17, 3),
327327
);
328328
final opacity = tester.widget<AnimatedOpacity>(
329329
find.ancestor(

0 commit comments

Comments
 (0)