diff --git a/lib/widget/topic.dart b/lib/widget/topic.dart index 0d9a940..46499e4 100644 --- a/lib/widget/topic.dart +++ b/lib/widget/topic.dart @@ -29,7 +29,7 @@ class TopicState extends State with SingleTickerProviderStateMixin{ elevation: 0.0, title: _renderTitle(context, vm), leading: new IconButton(icon: const Icon(Icons.arrow_back, color: Colors.white, size: 20.0), onPressed: () { - Navigator.maybePop(context); + Navigator.of(context).maybePop(); }), actions: [ new IconButton(