Skip to content
Snippets Groups Projects
Commit 6144d3ca authored by Aleksandras Kostarevas's avatar Aleksandras Kostarevas
Browse files

Show message if more actions is empty

parent 4011ea36
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment