Skip to content

Commit

Permalink
Update android
Browse files Browse the repository at this point in the history
  • Loading branch information
sirily11 committed Aug 27, 2021
1 parent ea34907 commit 0bf10ee
Show file tree
Hide file tree
Showing 33 changed files with 15 additions and 1,425 deletions.
2 changes: 1 addition & 1 deletion .flutter-plugins-dependencies

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 28
compileSdkVersion 29

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -39,7 +39,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "sirilee.storage.storage_management_system_mobile"
minSdkVersion 16
minSdkVersion 26
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.android.tools.build:gradle:4.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
1 change: 1 addition & 0 deletions android/settings_aar.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ':app'
4 changes: 2 additions & 2 deletions lib/States/ItemProvider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class ItemProvider with ChangeNotifier {
context: context,
backgroundColor: Colors.transparent,
expand: true,
builder: (context, controller) => SearchListPage(
builder: (context) => SearchListPage(
items: items,
),
);
Expand All @@ -157,7 +157,7 @@ class ItemProvider with ChangeNotifier {
context: context,
backgroundColor: Colors.transparent,
expand: true,
builder: (context, controller) => SearchListPage(
builder: (context) => SearchListPage(
items: items,
),
);
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/Home/Detail/SubDetail/PositionDetail.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class _PositionDetailState extends State<PositionDetail> {
url = await showCupertinoModalBottomSheet<String>(
context: context,
expand: true,
builder: (context, c) => UploadDialog(
builder: (context) => UploadDialog(
image: file,
imageDestination: ImageDestination.detailPosition,
),
Expand Down Expand Up @@ -205,7 +205,7 @@ class _PrintingWidgetState extends State<PrintingWidget> {
),
),
actions: <Widget>[
FlatButton(
TextButton(
onPressed: () async {
Navigator.pop(context);
},
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/Home/Homepage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ class HomePageState extends State<Homepage> {
try {
await CupertinoScaffold.showCupertinoModalBottomSheet(
context: context,
builder: (c, s) => CategorySelector(),
builder: (c) => CategorySelector(),
);
} catch (err) {
showCupertinoModalBottomSheet(
context: context,
builder: (c, s) => CategorySelector(),
builder: (c) => CategorySelector(),
);
}
},
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/ItemImage/NewImageScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class _ImageScreenState extends State<ImageScreen> {
await showCupertinoModalBottomSheet(
context: context,
expand: true,
builder: (context, _) => UploadDialog(
builder: (context) => UploadDialog(
id: widget.id,
image: image,
labels: labels,
Expand Down
1 change: 0 additions & 1 deletion plugins/menubar/.flutter-plugins-dependencies

This file was deleted.

3 changes: 0 additions & 3 deletions plugins/menubar/.gitignore

This file was deleted.

202 changes: 0 additions & 202 deletions plugins/menubar/LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion plugins/menubar/analysis_options.yaml

This file was deleted.

36 changes: 0 additions & 36 deletions plugins/menubar/ios/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions plugins/menubar/ios/Classes/MenubarPlugin.h

This file was deleted.

6 changes: 0 additions & 6 deletions plugins/menubar/ios/Classes/MenubarPlugin.m

This file was deleted.

21 changes: 0 additions & 21 deletions plugins/menubar/ios/menubar.podspec

This file was deleted.

15 changes: 0 additions & 15 deletions plugins/menubar/lib/menubar.dart

This file was deleted.

Loading

0 comments on commit 0bf10ee

Please sign in to comment.