Merge pull request #327 from astubenbord/fix/issue-324

Fix/issue 324
This commit is contained in:
Anton Stubenbord
2023-12-19 22:25:01 +01:00
committed by GitHub
6 changed files with 8 additions and 4 deletions

View File

@@ -0,0 +1 @@
- Beheben eines Fehlers durch welchen Dokumente nicht mehr bearbeitet werden konnten

View File

@@ -0,0 +1 @@
- Fixed a bug which caused documents not being editable anymore

View File

@@ -63,6 +63,7 @@ class ChangelogDialog extends StatelessWidget {
}
const _versionNumbers = {
"4013": "3.1.6",
"4003": "3.1.5",
"58": "3.1.4",
"57": "3.1.3",

View File

@@ -51,7 +51,7 @@ class DocumentModel extends Equatable {
// Only present if full_perms=true
final Permissions? permissions;
final Iterable<CustomFieldModel>? customFields;
final Iterable<CustomFieldModel> customFields;
const DocumentModel({
required this.id,
@@ -71,7 +71,7 @@ class DocumentModel extends Equatable {
this.owner,
this.userCanChange,
this.permissions,
this.customFields,
this.customFields = const [],
});
factory DocumentModel.fromJson(Map<String, dynamic> json) =>

View File

@@ -14,5 +14,6 @@ class Permissions with _$Permissions {
@HiveField(1) required UsersAndGroupsPermissions change,
}) = _Permissions;
factory Permissions.fromJson(Map<String, dynamic> json) => _$PermissionsFromJson(json);
factory Permissions.fromJson(Map<String, dynamic> json) =>
_$PermissionsFromJson(json);
}

View File

@@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 3.1.5+400
version: 3.1.6+401
environment:
sdk: ">=3.1.0 <4.0.0"