Skip to content

Commit

Permalink
fix: branch switch
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Jan 27, 2020
1 parent ba612d6 commit 867f617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/screens/repository.dart
Expand Up @@ -393,7 +393,7 @@ class RepositoryScreen extends StatelessWidget {
items: refs
.map((b) => PickerItem(b.name, text: b.name))
.toList(),
onClose: (ref) {
onChange: (ref) {
if (ref != branch) {
Provider.of<ThemeModel>(context).push(
context, '/$owner/$name?ref=$ref',
Expand Down

0 comments on commit 867f617

Please sign in to comment.