Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ZjzMisaka committed Jun 17, 2024
1 parent 7a3e035 commit dcd0f7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Powork/Network/TcpServerClient.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Concurrent;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Windows;
using System.Windows.Shapes;
using Newtonsoft.Json;
using PowerThreadPool.Options;
using PowerThreadPool.Results;
using Powork.Constant;
using Powork.Model;
using Windows.Networking.NetworkOperators;

namespace Powork.Network
{
Expand Down
2 changes: 1 addition & 1 deletion Powork/ViewModel/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ private void WindowLoaded(RoutedEventArgs eventArgs)
{
RequestID = userMessage.RequestID,
ID = fileInfo.Guid,
Path = receivedFilePath,
Path = userMessage.IsFolder ? Path.Combine(GlobalVariables.TcpServerClient.savePathDict[fileInfo.Guid], userMessage.FolderName) : receivedFilePath,
Name = userMessage.IsFolder ? userMessage.FolderName : fileInfo.Name,
Progress = 0,
Failed = false,
Expand Down

0 comments on commit dcd0f7c

Please sign in to comment.