Skip to content

Conversation

cooltey
Copy link
Collaborator

@cooltey cooltey commented Jun 27, 2025

@cooltey cooltey added the WIP Work in progress label Jun 27, 2025
@cooltey cooltey requested a review from voyagerfan as a code owner June 27, 2025 00:26
@cooltey cooltey added Ready to merge PR passed design signoff and ready to be merged. and removed WIP Work in progress labels Jul 2, 2025
@cooltey
Copy link
Collaborator Author

cooltey commented Jul 2, 2025

This is ready for review. The changes affect all reading list saving behaviors in the app.

@dbrant dbrant removed the request for review from voyagerfan July 2, 2025 18:35
@@ -77,30 +80,31 @@ object ReadingListsExportImportHelper : BaseActivity.Callback {
.setStyle(NotificationCompat.BigTextStyle().bigText(context.getString(R.string.reading_list_notification_text, numOfLists)))
}

fun importLists(activity: BaseActivity, jsonString: String) {
fun importLists(activity: AppCompatActivity, jsonString: String) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if it might be cleaner to convert this into a suspend function and launch it using viewLifecycleOwner.lifecycleScope in the fragment, instead of passing AppCompatActivity for launching the coroutine, what do you think? and maybe for other functions as well.

@dbrant dbrant merged commit ecfd924 into main Aug 20, 2025
1 check passed
@dbrant dbrant deleted the optimize-dao-functions branch August 20, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge PR passed design signoff and ready to be merged.
Development

Successfully merging this pull request may close these issues.

3 participants