File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1625
1625
<Run
1626
1626
FontSize =" 12"
1627
1627
Foreground =" {DynamicResource Color04B}"
1628
- Text =" {Binding Description}" />
1628
+ Text =" {Binding Description, Mode=OneWay }" />
1629
1629
</TextBlock >
1630
1630
1631
1631
</StackPanel >
1687
1687
Foreground =" {DynamicResource Color04B}"
1688
1688
NavigateUri =" {Binding Website}"
1689
1689
RequestNavigate =" OnRequestNavigate" >
1690
- <Run FontSize =" 12" Text =" {Binding Author}" />
1690
+ <Run FontSize =" 12" Text =" {Binding Author, Mode=OneWay }" />
1691
1691
</Hyperlink >
1692
1692
</TextBlock >
1693
1693
</StackPanel >
Original file line number Diff line number Diff line change @@ -16,12 +16,16 @@ public PluginStoreItemViewModel(UserPlugin plugin)
16
16
17
17
public string Name => _plugin . Name ;
18
18
public string Description => _plugin . Description ;
19
+ public string IcoPath => _plugin . IcoPath ;
19
20
public string Author => _plugin . Author ;
21
+ public string Website => _plugin . Website ;
22
+ public string Language => _plugin . Language ;
23
+ public string UrlDownload => _plugin . UrlDownload ;
24
+ public string UrlSourceCode => _plugin . UrlSourceCode ;
20
25
public string Version => _plugin . Version ;
21
26
22
-
23
27
public bool LabelNew => _plugin . LatestReleaseDate - DateTime . Now < TimeSpan . FromDays ( 7 ) ;
24
28
public bool LabelInstalled => PluginManager . GetPluginForId ( _plugin . ID ) != null ;
25
- public bool LabelUpdated => _plugin . DateAdded - DateTime . Now < TimeSpan . FromDays ( 7 ) ;
29
+ public bool LabelUpdated => _plugin . DateAdded - DateTime . Now < TimeSpan . FromDays ( 5 ) && ! LabelNew ;
26
30
}
27
31
}
You can’t perform that action at this time.
0 commit comments