add android bundle release
All checks were successful
Release / meta (push) Successful in 10s
Release / linux-build (push) Successful in 6m32s
Release / web-build (push) Successful in 5m50s
Release / android-build (push) Successful in 20m43s
Release / release-master (push) Successful in 26s
Release / release-dev (push) Successful in 28s
All checks were successful
Release / meta (push) Successful in 10s
Release / linux-build (push) Successful in 6m32s
Release / web-build (push) Successful in 5m50s
Release / android-build (push) Successful in 20m43s
Release / release-master (push) Successful in 26s
Release / release-dev (push) Successful in 28s
This commit is contained in:
@@ -513,9 +513,9 @@ class _DashboardState extends State<Dashboard> {
|
||||
Widget _buildTripsCard(
|
||||
BuildContext context, DataService data, DistanceUnitService distanceUnits) {
|
||||
final tripsUnsorted = data.trips;
|
||||
List trips = [];
|
||||
List<TripSummary> trips = [];
|
||||
if (tripsUnsorted.isNotEmpty) {
|
||||
trips = [...tripsUnsorted]..sort((a, b) => b.tripId.compareTo(a.tripId));
|
||||
trips = [...tripsUnsorted]..sort(TripSummary.compareByDateDesc);
|
||||
}
|
||||
return _panel(
|
||||
context,
|
||||
|
||||
@@ -42,6 +42,8 @@ class MorePage extends StatelessWidget {
|
||||
}
|
||||
|
||||
class _MoreHome extends StatelessWidget {
|
||||
const _MoreHome({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return ListView(
|
||||
|
||||
@@ -151,7 +151,7 @@ class _NewEntryPageState extends State<NewEntryPage> {
|
||||
|
||||
Widget _buildTripSelector(BuildContext context) {
|
||||
final trips = context.watch<DataService>().tripList;
|
||||
final sorted = [...trips]..sort((a, b) => b.tripId.compareTo(a.tripId));
|
||||
final sorted = [...trips]..sort(TripSummary.compareByDateDesc);
|
||||
final tripIds = sorted.map((t) => t.tripId).toSet();
|
||||
final selectedValue =
|
||||
(_selectedTripId != null && tripIds.contains(_selectedTripId))
|
||||
|
||||
@@ -232,7 +232,7 @@ class _TripsPageState extends State<TripsPage> {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
'Trip',
|
||||
'Trip #${trip.id}',
|
||||
style: Theme.of(context).textTheme.labelMedium,
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
|
||||
Reference in New Issue
Block a user