Minor refactor
This commit is contained in:
parent
96ce1f5908
commit
d256a000f0
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class _DetailPageState extends State<DetailPage> {
|
|||
|
||||
AppBar _buildAppBar() {
|
||||
final actions = List<Widget>();
|
||||
if (widget.photos[_selectedIndex].localId != null) {
|
||||
if (_photos[_selectedIndex].localId != null) {
|
||||
actions.add(_getFavoriteButton());
|
||||
}
|
||||
actions.add(IconButton(
|
||||
|
|
Loading…
Add table
Reference in a new issue