mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Show message if more actions is empty
This commit is contained in:
parent
4011ea365c
commit
6144d3ca47
@ -49,6 +49,7 @@ import org.futo.inputmethod.latin.uix.Action
|
||||
import org.futo.inputmethod.latin.uix.ActionWindow
|
||||
import org.futo.inputmethod.latin.uix.LocalManager
|
||||
import org.futo.inputmethod.latin.uix.getSettingBlocking
|
||||
import org.futo.inputmethod.latin.uix.settings.ScreenTitle
|
||||
import org.futo.inputmethod.latin.uix.settings.Tip
|
||||
import org.futo.inputmethod.latin.uix.settings.useDataStoreValue
|
||||
import org.futo.voiceinput.shared.ui.theme.Typography
|
||||
@ -112,8 +113,12 @@ fun MoreActionsView() {
|
||||
}
|
||||
|
||||
|
||||
if(actions.isEmpty()) {
|
||||
ScreenTitle("No actions are assigned to More Actions")
|
||||
}
|
||||
|
||||
LazyVerticalGrid(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
modifier = Modifier.fillMaxWidth().padding(8.dp),
|
||||
columns = GridCells.Adaptive(98.dp),
|
||||
horizontalArrangement = Arrangement.spacedBy(16.dp),
|
||||
verticalArrangement = Arrangement.spacedBy(16.dp)
|
||||
|
Loading…
Reference in New Issue
Block a user