Commit c8920841 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Kateryna Kostiuk

datatransfer: support awaiting_peer and awaiting_host states

Change-Id: I7427d480de3e14367a1b61abddaf72afec058b19
Reviewed-by: Kateryna Kostiuk's avatarKateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
parent 0bb31374
......@@ -151,7 +151,7 @@ NSInteger const GENERIC_INT_TEXT_TAG = 100;
if (type == lrc::api::interaction::Type::INCOMING_DATA_TRANSFER) {
switch (status) {
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];
break;
case lrc::api::interaction::Status::TRANSFER_ACCEPTED:
......@@ -167,7 +167,7 @@ NSInteger const GENERIC_INT_TEXT_TAG = 100;
} else if (type == lrc::api::interaction::Type::OUTGOING_DATA_TRANSFER) {
switch (status) {
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_ACCEPTED:
result = [tableView makeViewWithIdentifier:@"RightOngoingFileView" owner:self];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment