Skip to content
Snippets Groups Projects
Commit c8920841 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Kateryna Kostiuk
Browse files

datatransfer: support awaiting_peer and awaiting_host states


Change-Id: I7427d480de3e14367a1b61abddaf72afec058b19
Reviewed-by: default avatarKateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
parent 0bb31374
Branches
Tags
No related merge requests found
...@@ -151,7 +151,7 @@ NSInteger const GENERIC_INT_TEXT_TAG = 100; ...@@ -151,7 +151,7 @@ NSInteger const GENERIC_INT_TEXT_TAG = 100;
if (type == lrc::api::interaction::Type::INCOMING_DATA_TRANSFER) { if (type == lrc::api::interaction::Type::INCOMING_DATA_TRANSFER) {
switch (status) { switch (status) {
case lrc::api::interaction::Status::TRANSFER_CREATED: case lrc::api::interaction::Status::TRANSFER_CREATED:
case lrc::api::interaction::Status::TRANSFER_AWAITING: case lrc::api::interaction::Status::TRANSFER_AWAITING_HOST:
result = [tableView makeViewWithIdentifier:@"LeftIncomingFileView" owner:self]; result = [tableView makeViewWithIdentifier:@"LeftIncomingFileView" owner:self];
break; break;
case lrc::api::interaction::Status::TRANSFER_ACCEPTED: case lrc::api::interaction::Status::TRANSFER_ACCEPTED:
...@@ -167,7 +167,7 @@ NSInteger const GENERIC_INT_TEXT_TAG = 100; ...@@ -167,7 +167,7 @@ NSInteger const GENERIC_INT_TEXT_TAG = 100;
} else if (type == lrc::api::interaction::Type::OUTGOING_DATA_TRANSFER) { } else if (type == lrc::api::interaction::Type::OUTGOING_DATA_TRANSFER) {
switch (status) { switch (status) {
case lrc::api::interaction::Status::TRANSFER_CREATED: case lrc::api::interaction::Status::TRANSFER_CREATED:
case lrc::api::interaction::Status::TRANSFER_AWAITING: case lrc::api::interaction::Status::TRANSFER_AWAITING_PEER:
case lrc::api::interaction::Status::TRANSFER_ONGOING: case lrc::api::interaction::Status::TRANSFER_ONGOING:
case lrc::api::interaction::Status::TRANSFER_ACCEPTED: case lrc::api::interaction::Status::TRANSFER_ACCEPTED:
result = [tableView makeViewWithIdentifier:@"RightOngoingFileView" owner:self]; result = [tableView makeViewWithIdentifier:@"RightOngoingFileView" owner:self];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment