mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:37:22 +01:00
add alternative upload, ignore NIN pets, fix progress crashing
This commit is contained in:
parent
3fcd843a2d
commit
1ed831f360
10 changed files with 92 additions and 33 deletions
|
|
@ -132,12 +132,20 @@ public class SettingsUi : WindowMediatorSubscriberBase
|
|||
UiSharedService.FontText("Transfer Settings", _uiShared.UidFont);
|
||||
|
||||
int maxParallelDownloads = _configService.Current.ParallelDownloads;
|
||||
bool useAlternativeUpload = _configService.Current.UseAlternativeFileUpload;
|
||||
if (ImGui.SliderInt("Maximum Parallel Downloads", ref maxParallelDownloads, 1, 10))
|
||||
{
|
||||
_configService.Current.ParallelDownloads = maxParallelDownloads;
|
||||
_configService.Save();
|
||||
}
|
||||
|
||||
if (ImGui.Checkbox("Use Alternative Upload Method", ref useAlternativeUpload))
|
||||
{
|
||||
_configService.Current.UseAlternativeFileUpload = useAlternativeUpload;
|
||||
_configService.Save();
|
||||
}
|
||||
UiSharedService.DrawHelpText("This will attempt to upload files in one go instead of a stream. Typically not necessary to enable. Use if you have upload issues.");
|
||||
|
||||
ImGui.Separator();
|
||||
UiSharedService.FontText("Transfer UI", _uiShared.UidFont);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue