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

Chore: update Dependencies #1635

Merged
merged 7 commits into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Consistent microphone icon across app
- Upgraded dependencies

### Fixed:
- Sort categories
- Bottom sheet heights

## [0.8.392] - 2023-06-24
### Changed:
- Hide measurement suggestions when input dirty
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ doctor:

.PHONY: coverage_report
coverage_report:
lcov --remove coverage/lcov.info 'lib/classes/*.g.dart' 'lib/database/*.g.dart' 'lib/routes/router.gr.dart' -o coverage/new_lcov.info
lcov --remove coverage/lcov.info 'lib/classes/*.g.dart' 'lib/database/*.g.dart' -o coverage/new_lcov.info
genhtml coverage/new_lcov.info -o coverage --no-function-coverage
open coverage/index.html

Expand Down
34 changes: 17 additions & 17 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ PODS:
- Flutter
- flutter_health_fit (0.0.1):
- Flutter
- flutter_image_compress (1.0.0):
- flutter_image_compress_common (1.0.0):
- Flutter
- Mantle
- SDWebImage
Expand Down Expand Up @@ -66,7 +66,7 @@ PODS:
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- permission_handler_apple (9.1.0):
- permission_handler_apple (9.1.1):
- Flutter
- photo_manager (2.0.0):
- Flutter
Expand All @@ -77,12 +77,12 @@ PODS:
- ReachabilitySwift (5.0.0)
- record (0.0.1):
- Flutter
- SDWebImage (5.15.4):
- SDWebImage/Core (= 5.15.4)
- SDWebImage/Core (5.15.4)
- SDWebImageWebPCoder (0.10.1):
- SDWebImage (5.16.0):
- SDWebImage/Core (= 5.16.0)
- SDWebImage/Core (5.16.0)
- SDWebImageWebPCoder (0.12.0):
- libwebp (~> 1.0)
- SDWebImage/Core (~> 5.15)
- SDWebImage/Core (~> 5.16)
- share_plus (0.0.1):
- Flutter
- shared_preferences_foundation (0.0.1):
Expand Down Expand Up @@ -119,7 +119,7 @@ DEPENDENCIES:
- Flutter (from `Flutter`)
- flutter_fgbg (from `.symlinks/plugins/flutter_fgbg/ios`)
- flutter_health_fit (from `.symlinks/plugins/flutter_health_fit/ios`)
- flutter_image_compress (from `.symlinks/plugins/flutter_image_compress/ios`)
- flutter_image_compress_common (from `.symlinks/plugins/flutter_image_compress_common/ios`)
- flutter_keyboard_visibility (from `.symlinks/plugins/flutter_keyboard_visibility/ios`)
- flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
Expand Down Expand Up @@ -171,8 +171,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/flutter_fgbg/ios"
flutter_health_fit:
:path: ".symlinks/plugins/flutter_health_fit/ios"
flutter_image_compress:
:path: ".symlinks/plugins/flutter_image_compress/ios"
flutter_image_compress_common:
:path: ".symlinks/plugins/flutter_image_compress_common/ios"
flutter_keyboard_visibility:
:path: ".symlinks/plugins/flutter_keyboard_visibility/ios"
flutter_local_notifications:
Expand Down Expand Up @@ -229,7 +229,7 @@ SPEC CHECKSUMS:
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_fgbg: 31c0d1140a131daea2d342121808f6aa0dcd879d
flutter_health_fit: af332b5d7512b9cc8a05e7282cfcee02b056d32e
flutter_image_compress: 5a5e9aee05b6553048b8df1c3bc456d0afaac433
flutter_image_compress_common: ec1d45c362c9d30a3f6a0426c297f47c52007e3e
flutter_keyboard_visibility: 0339d06371254c3eb25eeb90ba8d17dca8f9c069
flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743
flutter_native_splash: 52501b97d1c0a5f898d687f1646226c1f93c56ef
Expand All @@ -242,20 +242,20 @@ SPEC CHECKSUMS:
location: 3a2eed4dd2fab25e7b7baf2a9efefe82b512d740
Mantle: c5aa8794a29a022dfbbfc9799af95f477a69b62d
media_kit_libs_ios_audio: 54c8c3556addbc15f3e8100306f5fa866c1233ab
media_kit_native_event_loop: 4aee6fad741e020d6935e204b8b1388bbd68beeb
media_kit_native_event_loop: b90c17c84c17c7d03e6409483ae2ce36036374d0
MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
package_info_plus: fd030dabf36271f146f1f3beacd48f564b0f17f7
pasteboard: 982969ebaa7c78af3e6cc7761e8f5e77565d9ce0
path_provider_foundation: eaf5b3e458fc0e5fbb9940fb09980e853fe058b8
permission_handler_apple: 8f116445eff3c0e7c65ad60f5fef5490aa94b4e4
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
photo_manager: 4f6810b7dfc4feb03b461ac1a70dacf91fba7604
qr_code_scanner: bb67d64904c3b9658ada8c402e8b4d406d5d796e
ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
record: cae05d8dd3cdb1dea3511b20e5a5811a1ae00d0d
SDWebImage: 1c39de67663e5eebb2f41324d5d580eeea12dd4c
SDWebImageWebPCoder: 4851414d9f8894e328e8b97c93ea4f4f4e4418ae
SDWebImage: 2aea163b50bfcb569a2726b6a754c54a4506fcf6
SDWebImageWebPCoder: f0f287cee4cd96a59937fbf3c77a8cfda9ba67b0
share_plus: 599aa54e4ea31d4b4c0e9c911bcc26c55e791028
shared_preferences_foundation: e2dae3258e06f44cc55f49d42024fd8dd03c590c
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a
sqlite3: fd89671d969f3e73efe503ce203e28b016b58f68
sqlite3_flutter_libs: 04ba0d14a04335a2fbf9a331e8664f401fbccdd5
Expand Down
2 changes: 1 addition & 1 deletion lib/blocs/audio/player_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AudioPlayerCubit extends Cubit<AudioPlayerState> {
speed: 1,
),
) {
_audioPlayer.streams.position.listen(updateProgress);
_audioPlayer.stream.position.listen(updateProgress);
}

final Player _audioPlayer = Player();
Expand Down
6 changes: 4 additions & 2 deletions lib/pages/settings/dashboards/dashboard_item_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ class HabitItemCard extends StatelessWidget {
AsyncSnapshot<HabitDefinition?> snapshot,
) {
final habitDefinition = snapshot.data;
debugPrint(habitDefinition.toString());

return ItemCard(
leadingIcon: MdiIcons.lightningBolt,
Expand All @@ -179,9 +178,10 @@ class ItemCard extends StatelessWidget {

@override
Widget build(BuildContext context) {
final colorScheme = Theme.of(context).colorScheme;
return Card(
child: ListTile(
tileColor: Colors.transparent,
tileColor: colorScheme.secondaryContainer,
onTap: onTap,
contentPadding: const EdgeInsets.symmetric(
vertical: 8,
Expand All @@ -190,10 +190,12 @@ class ItemCard extends StatelessWidget {
leading: Icon(
leadingIcon,
size: 32,
color: colorScheme.onSecondaryContainer,
),
title: Text(
title,
softWrap: true,
style: TextStyle(color: colorScheme.onSecondaryContainer),
),
),
);
Expand Down
6 changes: 6 additions & 0 deletions lib/services/window_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,10 @@ class WindowService implements WindowListener {
void onWindowResized() {
_onResized();
}

@override
void onWindowDocked() {}

@override
void onWindowUndocked() {}
}
2 changes: 1 addition & 1 deletion lib/widgets/categories/select_color_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class _SelectColorFieldState extends State<SelectColorField> {
builder: (BuildContext _) {
return Container(
constraints: BoxConstraints(
maxHeight: MediaQuery.of(context).size.height * 0.8,
maxHeight: MediaQuery.of(context).size.height * 0.7,
),
padding: const EdgeInsets.symmetric(
horizontal: 10,
Expand Down
6 changes: 4 additions & 2 deletions lib/widgets/habits/habit_category.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:collection/collection.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
Expand All @@ -22,7 +23,8 @@ class SelectCategoryWidget extends StatelessWidget {
return StreamBuilder<List<CategoryDefinition>>(
stream: getIt<JournalDb>().watchCategories(),
builder: (context, snapshot) {
final categories = snapshot.data ?? <CategoryDefinition>[];
final categories = snapshot.data ?? <CategoryDefinition>[]
..sortBy((category) => category.name);
final categoriesById = <String, CategoryDefinition>{};

for (final category in categories) {
Expand All @@ -49,7 +51,7 @@ class SelectCategoryWidget extends StatelessWidget {
value: BlocProvider.of<HabitSettingsCubit>(context),
child: Container(
constraints: BoxConstraints(
maxHeight: MediaQuery.of(context).size.height * 0.8,
maxHeight: MediaQuery.of(context).size.height * 0.7,
),
padding: const EdgeInsets.symmetric(
horizontal: 10,
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/habits/habit_dashboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class SelectDashboardWidget extends StatelessWidget {
value: BlocProvider.of<HabitSettingsCubit>(context),
child: Container(
constraints: BoxConstraints(
maxHeight: MediaQuery.of(context).size.height * 0.8,
maxHeight: MediaQuery.of(context).size.height * 0.7,
),
padding: const EdgeInsets.symmetric(
horizontal: 10,
Expand Down
6 changes: 4 additions & 2 deletions lib/widgets/settings/dashboards/dashboard_category.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:collection/collection.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:lotti/classes/entity_definitions.dart';
Expand Down Expand Up @@ -26,7 +27,8 @@ class SelectDashboardCategoryWidget extends StatelessWidget {
return StreamBuilder<List<CategoryDefinition>>(
stream: getIt<JournalDb>().watchCategories(),
builder: (context, snapshot) {
final categories = snapshot.data ?? <CategoryDefinition>[];
final categories = snapshot.data ?? <CategoryDefinition>[]
..sortBy((category) => category.name);
final categoriesById = <String, CategoryDefinition>{};

for (final category in categories) {
Expand All @@ -44,7 +46,7 @@ class SelectDashboardCategoryWidget extends StatelessWidget {
builder: (BuildContext _) {
return Container(
constraints: BoxConstraints(
maxHeight: MediaQuery.of(context).size.height * 0.8,
maxHeight: MediaQuery.of(context).size.height * 0.7,
),
padding: const EdgeInsets.symmetric(
horizontal: 10,
Expand Down
8 changes: 4 additions & 4 deletions macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -169,20 +169,20 @@ SPEC CHECKSUMS:
hotkey_manager: c32bf0bfe8f934b7bc17ab4ad5c4c142960b023c
location: 7cdb0665bd6577d382b0a343acdadbcb7f964775
media_kit_libs_macos_audio: 1c2b0099843763fefd0939bae1f6a2ada534f58f
media_kit_native_event_loop: b4f3e0836c225bcfb63ea416fb0d45b91247b502
media_kit_native_event_loop: 11899face341aba3903122be3f4c496ba1465025
package_info_plus: 02d7a575e80f194102bef286361c6c326e4c29ce
pasteboard: 9b69dba6fedbb04866be632205d532fe2f6b1d99
path_provider_foundation: eaf5b3e458fc0e5fbb9940fb09980e853fe058b8
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
photo_manager: 4f6810b7dfc4feb03b461ac1a70dacf91fba7604
ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
record_macos: 937889e0f2a7a12b6fc14e97a3678e5a18943de6
screen_retriever: 59634572a57080243dd1bf715e55b6c54f241a38
share_plus: 76dd39142738f7a68dd57b05093b5e8193f220f7
shared_preferences_foundation: e2dae3258e06f44cc55f49d42024fd8dd03c590c
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
sqflite: a5789cceda41d54d23f31d6de539d65bb14100ea
sqlite3: fd89671d969f3e73efe503ce203e28b016b58f68
sqlite3_flutter_libs: 00a50503d69f7ab0fe85a5ff25b33082f4df4ce9
url_launcher_macos: 5335912b679c073563f29d89d33d10d459f95451
url_launcher_macos: d2691c7dd33ed713bf3544850a623080ec693d95
window_manager: 3a1844359a6295ab1e47659b1a777e36773cd6e8

PODFILE CHECKSUM: 0d353b18ff12f5d7cf17ff0e726ed751fc815029
Expand Down
Loading