Skip to content

Commit

Permalink
chore: update sdk version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mastersam07 committed Aug 28, 2024
1 parent d0d0638 commit 2d8958a
Show file tree
Hide file tree
Showing 10 changed files with 183 additions and 159 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def keystoreProperties = new Properties()
}

android {
compileSdkVersion 33
compileSdkVersion 34

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
4 changes: 2 additions & 2 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if (keystorePropertiesFile.exists()) {
}

android {
compileSdkVersion 33
compileSdkVersion 34
ndkVersion flutter.ndkVersion

compileOptions {
Expand All @@ -52,7 +52,7 @@ android {
// Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "tech.mastersam.smarty"
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 34
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
Expand Down
2 changes: 1 addition & 1 deletion example/lib/features/devices/presentation/views/ac.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:bat_theme/bat_theme.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart' hide DeviceType;
import 'package:provider/provider.dart';
import 'package:sleek_circular_slider/sleek_circular_slider.dart';
import 'package:smarty/main.dart';
Expand Down
2 changes: 1 addition & 1 deletion example/lib/features/devices/presentation/views/light.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:bat_theme/bat_theme.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart' hide DeviceType;
import '../../../../utils/enums.dart';

import '../../../../core/navigation/navigator.dart';
Expand Down
2 changes: 1 addition & 1 deletion example/lib/features/devices/presentation/views/tv.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:bat_theme/bat_theme.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart' hide DeviceType;
import '../../../../shared/widgets/power_btn.dart';

import '../../../../core/navigation/navigator.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ class _PowerChartState extends State<PowerChart> {
),
titlesData: FlTitlesData(
show: true,
rightTitles: AxisTitles(
rightTitles: const AxisTitles(
sideTitles: SideTitles(showTitles: false),
),
topTitles: AxisTitles(
topTitles: const AxisTitles(
sideTitles: SideTitles(showTitles: false),
),
bottomTitles: AxisTitles(
Expand Down Expand Up @@ -184,7 +184,7 @@ class _PowerChartState extends State<PowerChart> {
),
barWidth: 1,
isStrokeCapRound: true,
dotData: FlDotData(
dotData: const FlDotData(
show: false,
),
belowBarData: BarAreaData(
Expand Down
Loading

0 comments on commit 2d8958a

Please sign in to comment.