fix(gh): change branch on close
This commit is contained in:
parent
b134bd87d2
commit
ce4f7a1809
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue