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

This commit is contained in:
2026-01-01 23:08:22 +00:00
parent 648872acf1
commit 59458484aa
13 changed files with 326 additions and 58 deletions

View File

@@ -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,

View File

@@ -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 =