Skip to content
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
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 33
compileSdkVersion 34

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion lib/bootstrap.dart
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Future<void> _configureManualDeps(GetIt getIt, Environment env) async {
..factory<ListUsbDevicesCallback>(() => UsbSerial.listDevices)
// MacOS, Linux, Windows
..factory<ListUsbPortsCallback>(() => () => SerialPort.availablePorts)
..singleton<LoggerStorage>(LoggerStorageImpl(prefs: gh.getIt()))
..singleton<LoggerStorage>(() => LoggerStorageImpl(prefs: gh.getIt()))
..factory<List<UserDefinedButtonSerializer>>(
() => const [
IndicatorUserDefinedButtonSerializer(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class AnimatedBottomSheet extends StatelessWidget {
onVerticalDragEnd: (_) {
controller.animateToNearestEdge();
},
onTap: controller.toggle,
onTap: controller.toggleBottomSheet,
child: stickUpWidget,
),
),
Expand Down Expand Up @@ -119,7 +119,7 @@ class AnimatedBottomSheetController extends AnimationController {
return (value - minHeightPerc) / (upperBound - minHeightPerc);
}

void toggle() {
void toggleBottomSheet() {
if (isOpened) hide();
if (isClosed) show();
}
Expand Down
Loading