about page fix

This commit is contained in:
2026-02-18 01:01:53 +01:00
Unverified
parent 394132b253
commit 63f2746206
4 changed files with 3 additions and 16 deletions

View File

@@ -41,9 +41,6 @@ namespace VDownload.Core.ViewModels.About
[ObservableProperty]
protected Uri _repositoryUrl;
[ObservableProperty]
protected Uri _donationUrl;
#endregion
@@ -64,7 +61,6 @@ namespace VDownload.Core.ViewModels.About
_developers = new ObservableCollection<PersonViewModel>(_configurationService.Common.About.Developers.Select(x => new PersonViewModel(x.Name, x.Url)));
_repositoryUrl = new Uri(_configurationService.Common.About.RepositoryUrl);
_donationUrl = new Uri(_configurationService.Common.About.DonationUrl);
}
#endregion

View File

@@ -81,11 +81,6 @@
<TextBlock x:Uid="/AboutViewResources/Repository"
FontSize="12"/>
</HyperlinkButton>
<HyperlinkButton HorizontalAlignment="Center"
NavigateUri="{Binding DonationUrl}">
<TextBlock x:Uid="/AboutViewResources/Donation"
FontSize="12"/>
</HyperlinkButton>
</StackPanel>
</StackPanel>
</StackPanel>

View File

@@ -12,9 +12,6 @@ namespace VDownload.Services.Data.Configuration.Models
[ConfigurationKeyName("repository_url")]
public string RepositoryUrl { get; set; }
[ConfigurationKeyName("donation_url")]
public string DonationUrl { get; set; }
[ConfigurationKeyName("developers")]
public IEnumerable<Person> Developers { get; set; }

View File

@@ -1,12 +1,11 @@
{
"common": {
"about": {
"repository_url": "https://github.com/mateuszskoczek/VDownload",
"donation_url": "https://paypal.me/mateuszskoczek",
"repository_url": "https://repos.mateuszskoczek.com/MateuszSkoczek/VDownload",
"developers": [
{
"name": "Mateusz Skoczek",
"url": "https://github.com/mateuszskoczek"
"url": "https://repos.mateuszskoczek.com/MateuszSkoczek"
}
],
"translation": [
@@ -15,7 +14,7 @@
"translators": [
{
"name": "Mateusz Skoczek",
"url": "https://github.com/mateuszskoczek"
"url": "https://repos.mateuszskoczek.com/MateuszSkoczek"
}
]
}