Fixed issue with some settings not saving.

This commit is contained in:
Roger Far 2022-05-31 07:41:23 -06:00
parent 78408278af
commit 599fc5011a
5 changed files with 8 additions and 4 deletions

View file

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.0.17] - 2022-05-24
### Changed
- Fixed issue with some settings not saving.
## [2.0.16] - 2022-05-24 ## [2.0.16] - 2022-05-24
### Changed ### Changed
- Fixed MacOS pre-fill on the login screen. - Fixed MacOS pre-fill on the login screen.

View file

@ -55,7 +55,7 @@
<a class="navbar-item" routerLink="profile"> Profile </a> <a class="navbar-item" routerLink="profile"> Profile </a>
<a class="navbar-item" (click)="logout()"> Logout </a> <a class="navbar-item" (click)="logout()"> Logout </a>
<hr class="navbar-divider" /> <hr class="navbar-divider" />
<div class="navbar-item">Version 2.0.16</div> <div class="navbar-item">Version 2.0.17</div>
</div> </div>
</div> </div>
</div> </div>

View file

@ -1,6 +1,6 @@
{ {
"name": "rdt-client", "name": "rdt-client",
"version": "2.0.16", "version": "2.0.17",
"description": "This is a web interface to manage your torrents on Real-Debrid.", "description": "This is a web interface to manage your torrents on Real-Debrid.",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {

View file

@ -159,7 +159,7 @@ public class SettingData
private static void SetSettings(IList<Setting> settings, Object defaultSetting, String? parent) private static void SetSettings(IList<Setting> settings, Object defaultSetting, String? parent)
{ {
var properties = defaultSetting.GetType().GetProperties(BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.Instance); var properties = defaultSetting.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance);
foreach (var property in properties) foreach (var property in properties)
{ {

View file

@ -4,7 +4,7 @@
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<UserSecretsId>94c24cba-f03f-4453-a671-3640b517c573</UserSecretsId> <UserSecretsId>94c24cba-f03f-4453-a671-3640b517c573</UserSecretsId>
<Version>2.0.16</Version> <Version>2.0.17</Version>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>