More work with fire stats
This commit is contained in:
parent
74b0d37839
commit
367df46f7e
6 changed files with 46 additions and 17 deletions
|
|
@ -72,8 +72,10 @@ class GenericMapBottom extends StatelessWidget {
|
|||
case FireMapStatus.view:
|
||||
if (state.numFires != null) {
|
||||
actionList.add(new Text(state.numFires > 0
|
||||
? S.of(context).firesAroundThisArea(
|
||||
state.numFires.toString(), kmAround.toString())
|
||||
? loc.currentNumFires == 1
|
||||
? S.of(context).fireAroundThisArea(loc.distance.toString())
|
||||
: S.of(context).firesAroundThisArea(
|
||||
state.numFires.toString(), kmAround.toString())
|
||||
: S.of(context).noFiresAroundThisArea(kmAround.toString())));
|
||||
// SizedBox(width: 10.0)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue