feat: enhance UI, branding assets, onboarding flow, and screen layouts
This commit is contained in:
@@ -104,7 +104,12 @@ class ComplianceController extends Notifier<ComplianceData> {
|
||||
|
||||
/// Stand-in for the camera / file picker: attaching a file sends the item
|
||||
/// back for review.
|
||||
void uploadFile(ComplianceSection section, String id, String fileName) {
|
||||
void uploadFile(
|
||||
ComplianceSection section,
|
||||
String id,
|
||||
String fileName, {
|
||||
String? meta,
|
||||
}) {
|
||||
_update(
|
||||
section,
|
||||
id,
|
||||
@@ -112,7 +117,7 @@ class ComplianceController extends Notifier<ComplianceData> {
|
||||
state: ComplianceState.pending,
|
||||
statusLabel: 'In review',
|
||||
fileName: fileName,
|
||||
fileMeta: 'Uploaded just now',
|
||||
fileMeta: meta ?? 'Uploaded just now',
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user