Skip to content

Commit

Permalink
Merge pull request #704 from hpi-studyu/fix/intervention-split-text
Browse files Browse the repository at this point in the history
fix: current intervention text split
  • Loading branch information
ibrahimozkn authored Dec 12, 2024
2 parents 4003b96 + 2e7d9c1 commit 405a692
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,17 @@ class _TaskOverviewState extends State<TaskOverview> {
children: [
const SizedBox(height: 16),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Expanded(
Flexible(
child: Text(
AppLocalizations.of(context)!.intervention_current,
style: theme.textTheme.titleLarge,
),
),
const Spacer(),
const SizedBox(
width: 5,
),
Text(
'${widget.subject!.daysLeftForPhase(widget.subject!.getInterventionIndexForDate(DateTime.now()))} ${AppLocalizations.of(context)!.days_left}',
style: const TextStyle(color: primaryColor),
Expand Down

0 comments on commit 405a692

Please sign in to comment.