fix: contributions initial position

This commit is contained in:
Rongjian Zhang 2019-09-15 00:20:46 +08:00
parent c14fdb4a1d
commit 7606f6ec12
1 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class UserScreen extends StatelessWidget {
}
Widget _buildContributions(List<ContributionsInfo> contributions) {
var row = Row(
final row = Row(
children: <Widget>[],
crossAxisAlignment: CrossAxisAlignment.start,
);
@ -128,6 +128,7 @@ class UserScreen extends StatelessWidget {
padding: EdgeInsets.all(10),
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
reverse: true,
child: row,
),
);