#78 opt.: alter url

This commit is contained in:
lollipopkit
2023-07-29 16:53:57 +08:00
parent 7f4dcc1357
commit e13c5910ec
14 changed files with 64 additions and 39 deletions

View File

@@ -24,7 +24,7 @@ class ServerPrivateInfoAdapter extends TypeAdapter<ServerPrivateInfo> {
pwd: fields[4] as String,
pubKeyId: fields[5] as String?,
tags: (fields[6] as List?)?.cast<String>(),
alterHost: fields[7] as String?,
alterUrl: fields[7] as String?,
);
}
@@ -47,7 +47,7 @@ class ServerPrivateInfoAdapter extends TypeAdapter<ServerPrivateInfo> {
..writeByte(6)
..write(obj.tags)
..writeByte(7)
..write(obj.alterHost);
..write(obj.alterUrl);
}
@override