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