mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-06 17:15:50 -06:00
chore: Rename variables, cleanup code
This commit is contained in:
@@ -44,14 +44,14 @@ class DocumentScannerCubit extends Cubit<List<File>> {
|
||||
Future<void> saveToFile(
|
||||
Uint8List bytes,
|
||||
String fileName,
|
||||
String preferredLocaleSubtag,
|
||||
String locale,
|
||||
) async {
|
||||
var file = await FileService.saveToFile(bytes, fileName);
|
||||
_notificationService.notifyFileSaved(
|
||||
filename: fileName,
|
||||
filePath: file.path,
|
||||
finished: true,
|
||||
locale: preferredLocaleSubtag,
|
||||
locale: locale,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user