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] [ObservableProperty]
protected Uri _repositoryUrl; protected Uri _repositoryUrl;
[ObservableProperty]
protected Uri _donationUrl;
#endregion #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))); _developers = new ObservableCollection<PersonViewModel>(_configurationService.Common.About.Developers.Select(x => new PersonViewModel(x.Name, x.Url)));
_repositoryUrl = new Uri(_configurationService.Common.About.RepositoryUrl); _repositoryUrl = new Uri(_configurationService.Common.About.RepositoryUrl);
_donationUrl = new Uri(_configurationService.Common.About.DonationUrl);
} }
#endregion #endregion

View File

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

View File

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

View File

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