mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-11 02:08:03 -06:00
fix: Adapt to new provider strucutre
This commit is contained in:
8
lib/features/home/view/model/api_version.dart
Normal file
8
lib/features/home/view/model/api_version.dart
Normal file
@@ -0,0 +1,8 @@
|
||||
class ApiVersion {
|
||||
final int version;
|
||||
|
||||
ApiVersion(this.version);
|
||||
|
||||
bool get supportsPermissions => version >= 3;
|
||||
bool get hasMultiUserSupport => version >= 3;
|
||||
}
|
||||
Reference in New Issue
Block a user