fixes issue on android
Some checks are pending
Flutter analyze & test / flutter_analyze_and_test (push) Waiting to run

This commit is contained in:
otsmr 2026-03-01 16:46:04 +01:00
parent 87ddb8ebdb
commit 609c7abb55
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
# Changelog
## 0.0.95
## 0.0.96
Feature: Show link in chat if the saved media file contains one
Improve: Verification badge for groups

View file

@ -97,9 +97,9 @@ Future<void> compressAndOverlayVideo(MediaFileService media) async {
if (mediaInfo == null) {
Log.error('Could not compress video using original video.');
// as a fall back use the non compressed version
media.ffmpegOutputPath.renameSync(media.tempPath.path);
media.ffmpegOutputPath.copySync(media.tempPath.path);
} else {
mediaInfo.file!.renameSync(media.tempPath.path);
mediaInfo.file!.copySync(media.tempPath.path);
}
stopwatch.stop();

View file

@ -3,7 +3,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec
publish_to: 'none'
version: 0.0.95+95
version: 0.0.96+96
environment:
sdk: ^3.6.0