Use Compose for OAuth login loading indicator

This commit is contained in:
arkon
2022-04-28 18:55:35 -04:00
parent 891406cc7f
commit ccff333123
2 changed files with 13 additions and 18 deletions
@@ -19,8 +19,7 @@ class MigrationSourcesController : ComposeController<MigrationSourcesPresenter>(
setHasOptionsMenu(true)
}
override fun createPresenter(): MigrationSourcesPresenter =
MigrationSourcesPresenter()
override fun createPresenter() = MigrationSourcesPresenter()
@Composable
override fun ComposeContent(nestedScrollInterop: NestedScrollConnection) {
@@ -38,7 +37,7 @@ class MigrationSourcesController : ComposeController<MigrationSourcesPresenter>(
onLongClickItem = { source ->
val sourceId = source.id.toString()
activity?.copyToClipboard(sourceId, sourceId)
}
},
)
}