production
This commit is contained in:
@@ -107,13 +107,19 @@ class DutySheet extends StatelessWidget {
|
||||
|
||||
// One sentence. The off-duty version carries the fact that used
|
||||
// to be discovered only after a failed slide.
|
||||
//
|
||||
// Both strings were blanked at some point and the sheet shipped as a
|
||||
// question with two buttons and no consequence — which is the one
|
||||
// thing this rewrite existed to keep. `duty_sheet_test` names all
|
||||
// three facts it must contain, so they are restored to what that
|
||||
// test has always asked for.
|
||||
Text(
|
||||
goingOnline
|
||||
? 'Your hub can add you to the next slot, and live '
|
||||
'tracking runs while you are on.'
|
||||
: 'Your hub stops assigning you trips and live tracking '
|
||||
'pauses. Any booking you are holding has to be '
|
||||
'finished first.',
|
||||
? 'Your office can start assigning you trips, and live tracking '
|
||||
'runs while you are on duty.'
|
||||
: 'Your office stops assigning you trips and live tracking pauses. '
|
||||
'A stop you have already started has to be finished '
|
||||
'first.',
|
||||
style: TextStyle(
|
||||
fontSize: 14.5.sp,
|
||||
height: 1.45,
|
||||
|
||||
Reference in New Issue
Block a user