add build step for flutter web, add persistent pagination in the traction list
Some checks failed
Release / meta (push) Successful in 14s
Release / web-build (push) Has been cancelled
Release / release-dev (push) Has been cancelled
Release / release-master (push) Has been cancelled
Release / linux-build (push) Has been cancelled
Release / android-build (push) Has been cancelled
Some checks failed
Release / meta (push) Successful in 14s
Release / web-build (push) Has been cancelled
Release / release-dev (push) Has been cancelled
Release / release-master (push) Has been cancelled
Release / linux-build (push) Has been cancelled
Release / android-build (push) Has been cancelled
This commit is contained in:
@@ -13,7 +13,7 @@ extension DataServiceTraction on DataService {
|
||||
Future<void> fetchTraction({
|
||||
bool hadOnly = false,
|
||||
int offset = 0,
|
||||
int limit = 50,
|
||||
int limit = 100,
|
||||
String? locoClass,
|
||||
String? locoNumber,
|
||||
bool mileageFirst = true,
|
||||
|
||||
@@ -158,7 +158,7 @@ class DistanceFormatter {
|
||||
return NumberFormat(pattern);
|
||||
}
|
||||
|
||||
String _formatMilesChains(double miles, {int decimals = 1}) {
|
||||
String _formatMilesChains(double miles) {
|
||||
final totalChains = miles * DistanceUnitService.chainsPerMile;
|
||||
var milesPart = totalChains ~/ DistanceUnitService.chainsPerMile;
|
||||
final chainRemainder =
|
||||
|
||||
Reference in New Issue
Block a user