mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-10 14:07:59 -06:00
fix: Stop long polling to /statistics when app is in background, code cleanup
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
import 'package:equatable/equatable.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
part of 'edit_label_cubit.dart';
|
||||
|
||||
@immutable
|
||||
class EditLabelState<T> extends Equatable {
|
||||
final Map<int, T> labels;
|
||||
|
||||
const EditLabelState({required this.labels});
|
||||
const EditLabelState({this.labels = const {}});
|
||||
|
||||
@override
|
||||
List<Object> get props => [labels];
|
||||
}
|
||||
|
||||
class EditLabelInitial<T> extends EditLabelState<T> {
|
||||
const EditLabelInitial() : super(labels: const {});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user