mirror of
https://github.com/git-touch/git-touch
synced 2024-12-18 19:22:54 +01:00
fix: branch switch
This commit is contained in:
parent
ba612d63ad
commit
867f617276
@ -393,7 +393,7 @@ class RepositoryScreen extends StatelessWidget {
|
|||||||
items: refs
|
items: refs
|
||||||
.map((b) => PickerItem(b.name, text: b.name))
|
.map((b) => PickerItem(b.name, text: b.name))
|
||||||
.toList(),
|
.toList(),
|
||||||
onClose: (ref) {
|
onChange: (ref) {
|
||||||
if (ref != branch) {
|
if (ref != branch) {
|
||||||
Provider.of<ThemeModel>(context).push(
|
Provider.of<ThemeModel>(context).push(
|
||||||
context, '/$owner/$name?ref=$ref',
|
context, '/$owner/$name?ref=$ref',
|
||||||
|
Loading…
Reference in New Issue
Block a user