Skip to content

Commit eff7a77

Browse files
committed
refactor: Update widget import paths for progress indicators
1 parent f9802d3 commit eff7a77

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

analysis_options.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
11
include: package:flutter_lints/flutter.yaml
2-
3-
linter:
4-
rules:

lib/plugin/image_editor/image_editor_pro.dart

-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ import 'module/text_overlay_screen.dart';
3636

3737
late Size viewportSize;
3838

39-
double viewportRatio = 1;
40-
4139
List<Layer> layers = [], undoLayers = [], removedLayers = [];
4240
Map<String, String> _translations = {};
4341

lib/viewmodel/screens/posts_view_model.dart

+4
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,13 @@ class PostsViewModel extends ChangeNotifier {
6969
try {
7070
loading = true;
7171
notifyListeners();
72+
7273
await postService.uploadProfilePicture(media!, auth.currentUser!);
7374
loading = false;
75+
7476
DocumentSnapshot doc = await usersRef.doc(auth.currentUser!.uid).get();
7577
var users = UserModel.fromJson(doc.data() as Map<String, dynamic>);
78+
7679
resetProfilePicture();
7780
Navigator.pop(context, users.photoUrl);
7881
notifyListeners();
@@ -232,6 +235,7 @@ class PostsViewModel extends ChangeNotifier {
232235
await postService.addMentionToNotification(mentions, value);
233236
}
234237
});
238+
235239
showSnackBar('Post uploaded successfully!', context, error: false);
236240
resetPost();
237241
loading = false;

0 commit comments

Comments
 (0)