AOSSIE-Org / Resonate

Clubhouse, but Open Source. A social voice platform.
GNU General Public License v3.0
187 stars 132 forks source link

Handle null return value in Future<void> function #293

Closed kareemabdeen closed 6 months ago

kareemabdeen commented 6 months ago

Description

This pull request resolves the issue where a null value was causing a subtype error in a function with a return type of Future. By updating the return type to Future, the function can now handle null return values without any errors.

Fixes #292

Type of change

updating the return type to Future, the function can now handle null return values without any errors.

Please delete options that are not relevant.

How Has This Been Tested?

Please include screenshots below if applicable. before bug fixes : Screenshot (1632)

After https://github.com/AOSSIE-Org/Resonate/assets/118139061/77f32e52-2b4e-498a-9bc5-6a4c1dc5edc7

Checklist:

Maintainer Checklist

kareemabdeen commented 6 months ago

@chandansgowda plz review changes

chandansgowda commented 6 months ago

@kareemabdeen Please resolve conflicts

kareemabdeen commented 6 months ago

@kareemabdeen Please resolve conflicts

done @chandansgowda

kareemabdeen commented 6 months ago

if there's any other problem please let me know @chandansgowda