production

This commit is contained in:
2026-08-28 11:13:15 +05:30
parent d7348e253f
commit 5723d373b2
162 changed files with 17924 additions and 7026 deletions

View File

@@ -97,6 +97,12 @@ Future<void> main() async {
// Xpress-rider delivery one under `lib/xpress`.
//
// Moved above the controller registrations below, which it now selects.
// The tenant can change under a rider who never signs out — and until the
// backend began returning `tenantname`, one who was already signed in had no
// way to receive it at all. Refreshed from `GET /miler/profile` first so the
// resolution below reads the current answer. Cheap and non-blocking for a
// rider we already have a name for; see [refreshTenantFromProfile].
await refreshTenantFromProfile();
final profile = await TenantController.to.load();
// ── One line's controllers, not both ──