Skip to content

Commit

Permalink
fix layout on shockers page
Browse files Browse the repository at this point in the history
  • Loading branch information
ComputerElite committed Jan 31, 2025
1 parent c0b0b70 commit c0ed2f3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/screens/shockers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ class ShockerScreenState extends State<ShockerScreen> {
}
shockers.add(StickyHeader(
header:
HubItem(hub: shocker.key!, manager: manager, onRebuild: rebuild),
HubItem(hub: shocker.key!, manager: manager, key: ValueKey(shocker.key!.getIdentifier(manager)), onRebuild: rebuild),
content: Column(
children: shockerWidgets,
)));
Expand All @@ -450,11 +450,9 @@ class ShockerScreenState extends State<ShockerScreen> {
},
child: Column(
children: [
Flexible(
child: Text(
'All devices',
style: t.textTheme.headlineMedium,
),
Text(
'All devices',
style: t.textTheme.headlineMedium,
),
if (groupedShockers.isEmpty)
Text("No shockers found", style: t.textTheme.headlineSmall),
Expand Down

0 comments on commit c0ed2f3

Please sign in to comment.