fix(gh): change branch on close

This commit is contained in:
Rongjian Zhang 2020-04-06 13:20:11 +08:00
parent b134bd87d2
commit ce4f7a1809
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ class GhRepoScreen extends StatelessWidget {
items: refs
.map((b) => PickerItem(b.name, text: b.name))
.toList(),
onChange: (ref) {
onClose: (ref) {
if (ref != branch) {
theme.push(context, '/$owner/$name?ref=$ref',
replace: true);