Skip to content

Commit af651c3

Browse files
Asher.Guo@barcoverse.comAsher.Guo@barcoverse.com
Asher.Guo@barcoverse.com
authored and
Asher.Guo@barcoverse.com
committed
修复详情返回按键问题
1 parent 44a2f13 commit af651c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/page/repos/repository_file_list_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class RepositoryDetailFileListPageState
187187
elevation: 0.0,
188188
),
189189
body: PopScope(
190-
canPop: proivder.currentIndex != 3 && headerList.length == 1,
190+
canPop: proivder.currentIndex != 3 || headerList.length == 1,
191191
onPopInvokedWithResult: (didPop, _) {
192192
if (didPop == false) {
193193
_resolveHeaderClick(headerList.length - 2);

0 commit comments

Comments
 (0)