Use Compose for OAuth login loading indicator
This commit is contained in:
+2
-3
@@ -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)
|
||||
}
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user