Skip to content

Commit

Permalink
fixed missing TextTheme
Browse files Browse the repository at this point in the history
  • Loading branch information
sunhuachuang committed Jul 31, 2021
1 parent 0d1f2bb commit 005d3ff
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion lib/apps/file/list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class _FilesListState extends State<FilesList> {
const SizedBox(height: 20.0),
Align(
alignment: Alignment.centerLeft,
child: Text('Recents', style: Theme.of(context).textTheme.title)
child: Text('Recents', style: Theme.of(context).textTheme.caption)
),
Expanded(
child: GridView.extent(
Expand Down
4 changes: 2 additions & 2 deletions lib/apps/group_chat/add.dart
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ class _GroupAddPageState extends State<GroupAddPage> {
padding: const EdgeInsets.all(10.0),
alignment: Alignment.centerLeft,
child: Text('1. ' + lang.groupChatAddr, textAlign: TextAlign.left,
style: Theme.of(context).textTheme.title),
style: Theme.of(context).textTheme.headline6),
),
Container(
padding: EdgeInsets.only(bottom: 10.0),
Expand Down Expand Up @@ -410,7 +410,7 @@ class _GroupAddPageState extends State<GroupAddPage> {
padding: const EdgeInsets.all(10.0),
alignment: Alignment.centerLeft,
child: Text('2. ' + lang.groupChatInfo, textAlign: TextAlign.left,
style: Theme.of(context).textTheme.title),
style: Theme.of(context).textTheme.headline6),
),
Container(
width: 100.0,
Expand Down
2 changes: 1 addition & 1 deletion lib/apps/group_chat/detail.dart
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ class _MemberWidget extends StatelessWidget {
Container(
alignment: Alignment.centerRight,
child: Text("${lang.members} (${allKeys.length + 1})",
style: Theme.of(context).textTheme.title),
style: Theme.of(context).textTheme.headline6),
),
const SizedBox(height: 10.0),
const Divider(height: 1.0, color: Color(0x40ADB0BB)),
Expand Down
Loading

0 comments on commit 005d3ff

Please sign in to comment.