Skip to content

Commit c6dcaf8

Browse files
committed
组织用户屏蔽提交动态item
1 parent 08265f0 commit c6dcaf8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

VERSION.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
* webview点击跳转。
99
* markdown htmlview 表格。
1010

11-
### 1.0.8
11+
### 1.0.8 (进行中)
1212
* readme图片解析优化
1313
* readme图片增加点击查看
14+
* 组织账号不显示活跃记录Item
1415

1516

1617

lib/widget/UserHeader.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ class UserHeaderItem extends StatelessWidget {
7373
_renderChart(context) {
7474
double height = 140.0;
7575
double width = 3 * MediaQuery.of(context).size.width / 2;
76-
return userInfo.login != null
76+
if(userInfo.login != null && userInfo.type == "Organization") {
77+
return new Container();
78+
}
79+
return (userInfo.login != null)
7780
? new Card(
7881
margin: EdgeInsets.only(top: 0.0, left: 10.0, right: 10.0, bottom: 10.0),
7982
color: Colors.white,

0 commit comments

Comments
 (0)