Skip to content

Commit

Permalink
recoding app: update icon, banner and funtion upadte to server
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunhThanhDe committed Feb 20, 2024
1 parent e4ab054 commit 777bb35
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class CameraPageState extends State<CameraPage> with WidgetsBindingObserver {
return CustomCamera(
color: Colors.white70,
onImageCaptured: (value) async {
File file = File(value.path);
File file = File(value.path);
final path = value.path;
if (path.contains('.jpg')) {
Navigator.pushReplacement(context, MaterialPageRoute(builder: (context) => ImagePage(file: file)));
Expand Down
2 changes: 0 additions & 2 deletions lib/section/image_page.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'dart:async';
import 'dart:io';

import 'package:camera_app/controler/upload_file_server.dart';
Expand All @@ -16,7 +15,6 @@ class ImagePage extends StatefulWidget {
}

class _ImagePageState extends State<ImagePage> {

//rotate BuilderFuture
int quarterTurns = 0;

Expand Down

0 comments on commit 777bb35

Please sign in to comment.