mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 06:35:09 +00:00
Only open file if open is actually true
This commit is contained in:
@@ -189,7 +189,7 @@ public class CompositeReceiveFileJob extends BackgroundJob<Device, Void> {
|
|||||||
numFiles = totalNumFiles;
|
numFiles = totalNumFiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (numFiles == 1 && currentNetworkPacket.has("open")) {
|
if (numFiles == 1 && currentNetworkPacket.getBoolean("open", false)) {
|
||||||
receiveNotification.cancel();
|
receiveNotification.cancel();
|
||||||
openFile(fileDocument);
|
openFile(fileDocument);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user