Skip to content

Commit

Permalink
Enable EoY feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
MiSikora committed Oct 30, 2024
1 parent 77ba412 commit caf0d96
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import androidx.core.graphics.drawable.toBitmap
import androidx.core.graphics.scale
import au.com.shiftyjelly.pocketcasts.endofyear.ui.backgroundColor
import au.com.shiftyjelly.pocketcasts.models.to.Story
import au.com.shiftyjelly.pocketcasts.utils.log.LogBuffer
import au.com.shiftyjelly.pocketcasts.utils.log.LogBuffer.TAG_CRASH
import dev.shreyaspatil.capturable.controller.CaptureController
import dev.shreyaspatil.capturable.controller.rememberCaptureController
import java.io.File
Expand Down Expand Up @@ -117,7 +119,8 @@ internal fun rememberStoryCaptureController(): StoryCaptureController {
}
file
}
}.getOrNull()
}.onFailure { LogBuffer.e(TAG_CRASH, it, "Failed to create a screenshot") }
.getOrNull()
_isSharing = false
return file
}
Expand Down

0 comments on commit caf0d96

Please sign in to comment.