Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion sky/sdk/example/stocks/lib/stock_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ class StockMenu extends Component {
items: [
new PopupMenuItem(child: new Text('Add stock')),
new PopupMenuItem(child: new Text('Remove stock')),
new PopupMenuItem(child: new Flex([new Flexible(child: new Text('Autorefresh')), checkbox])),
new PopupMenuItem(
onPressed: () => onAutorefreshChanged(!autorefresh),
child: new Flex([new Flexible(child: new Text('Autorefresh')), checkbox])
),
],
level: 4,
showing: showing,
Expand Down