clean up make post dialogue
This commit is contained in:
parent
8eb4763ff3
commit
2caa91dad5
|
@ -246,7 +246,6 @@ class _MakePostState extends State<MakePost> {
|
||||||
// upload the media attachments
|
// upload the media attachments
|
||||||
List<String> mediaIds = [];
|
List<String> mediaIds = [];
|
||||||
for (var file in files) {
|
for (var file in files) {
|
||||||
print("blip");
|
|
||||||
if (mounted) {
|
if (mounted) {
|
||||||
setState(() {
|
setState(() {
|
||||||
status =
|
status =
|
||||||
|
@ -265,8 +264,6 @@ class _MakePostState extends State<MakePost> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print(mediaIds);
|
|
||||||
|
|
||||||
// send the final post
|
// send the final post
|
||||||
final model = MakePostModel(
|
final model = MakePostModel(
|
||||||
mediaIds: mediaIds,
|
mediaIds: mediaIds,
|
||||||
|
@ -391,6 +388,7 @@ class _MakePostState extends State<MakePost> {
|
||||||
}
|
}
|
||||||
|
|
||||||
return SimpleDialog(
|
return SimpleDialog(
|
||||||
|
titlePadding: const EdgeInsets.all(0),
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
contentPadding: const EdgeInsets.all(24),
|
contentPadding: const EdgeInsets.all(24),
|
||||||
title: Column(
|
title: Column(
|
||||||
|
|
Loading…
Reference in New Issue