Skip to content

Commit

Permalink
minor bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
triagung128 committed Feb 10, 2023
1 parent cbaaa4f commit 6e058e3
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ android {
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
versionCode 4
versionName '1.1.0'
}

signingConfigs {
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!-- For apps with targetSDK=31 (Android 12) -->
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<application
android:label="Cari Restoran"
android:label="Cari Resto"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
Expand Down
44 changes: 22 additions & 22 deletions lib/widget/bottom_sheet_review.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,28 @@ class BottomSheetReview extends StatelessWidget {
),
],
),
Padding(
padding: const EdgeInsets.only(right: 16),
child: TextButton(
onPressed: () {
Navigator.pop(context);
showDialog(
context: context,
barrierDismissible: false,
builder: (_) {
return DialogReview(
provider: provider,
restaurantId: restaurant.id,
);
},
);
},
child: const Text(
'Tambah Review',
style: TextStyle(fontWeight: FontWeight.bold),
),
),
),
// Padding(
// padding: const EdgeInsets.only(right: 16),
// child: TextButton(
// onPressed: () {
// Navigator.pop(context);
// showDialog(
// context: context,
// barrierDismissible: false,
// builder: (_) {
// return DialogReview(
// provider: provider,
// restaurantId: restaurant.id,
// );
// },
// );
// },
// child: const Text(
// 'Tambah Review',
// style: TextStyle(fontWeight: FontWeight.bold),
// ),
// ),
// ),
],
),
),
Expand Down

0 comments on commit 6e058e3

Please # to comment.