mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 09:15:35 +03:00
feat(mobile): improved logging page experience (#2158)
* feat(mobile): improve logging page * Use new API for share file * removed unused code * Better safe area on the home screen * Added preparing share dialog to home screen
This commit is contained in:
@@ -102,15 +102,13 @@ class ImmichLogger {
|
||||
}
|
||||
|
||||
// Share file
|
||||
// ignore: deprecated_member_use
|
||||
await Share.shareFiles(
|
||||
[filePath],
|
||||
await Share.shareXFiles(
|
||||
[XFile(filePath)],
|
||||
subject: "Immich logs $dateTime",
|
||||
sharePositionOrigin: Rect.zero,
|
||||
).then(
|
||||
(value) => logFile.delete(),
|
||||
);
|
||||
|
||||
// Clean up temp file
|
||||
await logFile.delete();
|
||||
}
|
||||
|
||||
/// Flush pending log messages to persistent storage
|
||||
|
||||
Reference in New Issue
Block a user