mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-23 13:02:33 +01:00
Migrate to a TextActionIcon for extensions menu
This commit is contained in:
@@ -50,9 +50,9 @@ import androidx.compose.ui.window.rememberWindowState
|
||||
import ca.gosyer.build.BuildConfig
|
||||
import ca.gosyer.data.models.Extension
|
||||
import ca.gosyer.ui.base.WindowDialog
|
||||
import ca.gosyer.ui.base.components.ActionIcon
|
||||
import ca.gosyer.ui.base.components.KamelImage
|
||||
import ca.gosyer.ui.base.components.LoadingScreen
|
||||
import ca.gosyer.ui.base.components.TextActionIcon
|
||||
import ca.gosyer.ui.base.components.Toolbar
|
||||
import ca.gosyer.ui.base.resources.stringResource
|
||||
import ca.gosyer.ui.base.vm.viewModel
|
||||
@@ -150,7 +150,7 @@ fun ExtensionsToolbar(
|
||||
searchText = searchText,
|
||||
search = search,
|
||||
actions = {
|
||||
ActionIcon(
|
||||
TextActionIcon(
|
||||
{
|
||||
val enabledLangs = MutableStateFlow(currentEnabledLangs.value)
|
||||
LanguageDialog(enabledLangs, getSourceLanguages().toList()) {
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<string name="downloads_stopped">Stopped</string>
|
||||
|
||||
<!-- Extensions Menu -->
|
||||
<string name="enabled_languages">Enabled languages</string>
|
||||
<string name="enabled_languages">Languages</string>
|
||||
<string name="installed">Installed</string>
|
||||
<string name="all">All</string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user