feat: add a more obvious warning for people

This commit is contained in:
Anna
2022-08-28 16:54:19 -04:00
parent 019c851d5a
commit ac69b8d92d
5 changed files with 127 additions and 41 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ namespace ChatTwo;
[Serializable]
internal class Configuration : IPluginConfiguration {
private const int LatestVersion = 5;
internal const int LatestDbVersion = 1;
public int Version { get; set; } = LatestVersion;
@@ -49,7 +50,7 @@ internal class Configuration : IPluginConfiguration {
public Dictionary<ChatType, uint> ChatColours = new();
public List<Tab> Tabs = new();
public uint DatabaseMigration;
public uint DatabaseMigration = LatestDbVersion;
internal void UpdateFrom(Configuration other) {
this.HideChat = other.HideChat;