chore: Give some indication that it is refreshing

This commit is contained in:
Ahmad Ansori Palembani 2024-06-05 05:30:52 +07:00
parent 55455090d1
commit 2e2844a03f
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -65,7 +65,10 @@ fun ExtensionRepoScreen(
ToolTipButton(
toolTipLabel = stringResource(R.string.refresh),
icon = Icons.Outlined.Refresh,
buttonClicked = { viewModel.refreshRepos() },
buttonClicked = {
context.toast("Refreshing...") // TODO: Should be loading animation instead
viewModel.refreshRepos()
},
)
},
) { innerPadding ->