🐛 Bug fixes

This commit is contained in:
2024-03-24 11:07:36 +08:00
parent 06b4cb863e
commit 41f456893f
2 changed files with 5 additions and 4 deletions

View File

@ -22,7 +22,7 @@ class _MomentEditorScreenState extends State<MomentEditorScreen> {
bool showRecommendationBanner = true;
Future<void> postMoment() async {
if (authClient.client == null) return;
if (!await authClient.isAuthorized()) return;
setState(() => isSubmitting = true);
var res = await authClient.client!.post(