mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-30 20:33:43 +01:00
Add options for changelog display.
This commit is contained in:
parent
ce73385333
commit
1dae7fe036
3 changed files with 10 additions and 6 deletions
|
|
@ -8,11 +8,13 @@ public partial class ConfigWindow
|
|||
|
||||
public static Changelog CreateChangelog()
|
||||
{
|
||||
var ret = new Changelog( "Penumbra Changelog", () => Penumbra.Config.LastSeenVersion, version =>
|
||||
{
|
||||
Penumbra.Config.LastSeenVersion = version;
|
||||
Penumbra.Config.Save();
|
||||
} );
|
||||
var ret = new Changelog( "Penumbra Changelog", () => ( Penumbra.Config.LastSeenVersion, Penumbra.Config.ChangeLogDisplayType ),
|
||||
( version, type ) =>
|
||||
{
|
||||
Penumbra.Config.LastSeenVersion = version;
|
||||
Penumbra.Config.ChangeLogDisplayType = type;
|
||||
Penumbra.Config.Save();
|
||||
} );
|
||||
|
||||
Add5_7_0( ret );
|
||||
Add5_7_1( ret );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue