TF-4082 Save text formatting menu state to user's preferences when send email or close composer
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
|
||||
class SavingTextFormattingMenuState extends LoadingState {}
|
||||
|
||||
class SaveTextFormattingMenuStateSuccess extends UIState {
|
||||
final bool isDisplayed;
|
||||
|
||||
SaveTextFormattingMenuStateSuccess(this.isDisplayed);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [isDisplayed];
|
||||
}
|
||||
|
||||
class SaveTextFormattingMenuStateFailure extends FeatureFailure {
|
||||
SaveTextFormattingMenuStateFailure(dynamic exception) : super(exception: exception);
|
||||
}
|
||||
Reference in New Issue
Block a user