Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Sep 26, 2024
1 parent 3bd2785 commit 210ba2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app_widget/lib/view/busy_screen_state_mixin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ mixin BusyScreenStateMixin<T extends StatefulWidget> on State<T> {
final _busySubject = BehaviorSubject<bool>.seeded(false);
ValueStream<bool> get busyStream => _busySubject.stream;

bool get busy => _busySubject.value == true;
bool get busy => _busySubject.value;

/// Action if not busy
Future<BusyActionResult<R>> busyAction<R>(Future<R> Function() action) async {
if (_busySubject.value == true) {
if (_busySubject.value) {
return BusyActionResult(busy: true);
}
_busySubject.add(true);
Expand Down
1 change: 0 additions & 1 deletion app_widget/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ dev_dependencies:
sdk: flutter
process_run:


dependency_overrides:
tekartik_app_flutter_common_utils:
path: ../app_common
Expand Down

0 comments on commit 210ba2c

Please sign in to comment.