Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update exactly what Vacation change #2652

Merged
merged 5 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [0.11.3-patch4-6] - 2024-02-26
### Fixed
- #2326 Display total count of Draft
- #2362 Auto load more in big screen
- #2465 Fix wrong time format in Blue bar
- #2633 Fix blink blink in composer [Web]
- #2599 Resolve notification flood in Android

## [0.11.3-patch4-5] - 2024-02-21
### Fixed
- #2611 Get only one by one in FULL level when receive changes in notification
Expand Down
1 change: 1 addition & 0 deletions core/lib/core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export 'utils/config/app_config_parser.dart';
export 'utils/config/errors.dart';
export 'data/utils/compress_file_utils.dart';
export 'utils/platform_info.dart';
export 'utils/option_param_mixin.dart';

// Views
export 'presentation/views/text/slogan_builder.dart';
Expand Down
11 changes: 11 additions & 0 deletions core/lib/utils/option_param_mixin.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import 'package:dartz/dartz.dart';

mixin OptionParamMixin {
T? getOptionParam<T>(Option<T?>? option, T? defaultValue) {
if (option != null) {
return option.toNullable();
} else {
return defaultValue;
}
}
}
dab246 marked this conversation as resolved.
Show resolved Hide resolved