about page fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user