match start activity title to regular title style (#4708)
* match start activity title to regular title style * center title and only shrink text on mobile * center align text --------- Co-authored-by: ggurdin <ggurdin@gmail.com>
This commit is contained in:
parent
d3fdd53245
commit
54c74cbb33
1 changed files with 13 additions and 1 deletions
|
|
@ -48,7 +48,19 @@ class ActivitySessionStartView extends StatelessWidget {
|
|||
leadingWidth: 52.0,
|
||||
title: controller.activity == null
|
||||
? null
|
||||
: Text(controller.activity!.title),
|
||||
: Center(
|
||||
child: Text(
|
||||
controller.activity!.title,
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
textAlign: TextAlign.center,
|
||||
style: !FluffyThemes.isColumnMode(context)
|
||||
? const TextStyle(
|
||||
fontSize: 16,
|
||||
)
|
||||
: null,
|
||||
),
|
||||
),
|
||||
leading: Padding(
|
||||
padding: const EdgeInsets.only(left: 12.0),
|
||||
child: Center(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue