fix: remove default entry
This commit is contained in:
parent
9908cb01ce
commit
c80f52d351
1 changed files with 1 additions and 2 deletions
|
@ -13,7 +13,6 @@ import xyz.atnrch.wrench.components.center.empty.DefaultDisplay
|
||||||
import xyz.atnrch.wrench.components.center.input.InputEntries
|
import xyz.atnrch.wrench.components.center.input.InputEntries
|
||||||
import xyz.atnrch.wrench.components.center.output.OutputEntries
|
import xyz.atnrch.wrench.components.center.output.OutputEntries
|
||||||
import xyz.atnrch.wrench.watcher.WatcherManager
|
import xyz.atnrch.wrench.watcher.WatcherManager
|
||||||
import java.io.File
|
|
||||||
import java.nio.file.Path
|
import java.nio.file.Path
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
|
@ -52,7 +51,7 @@ fun displayEntries(
|
||||||
onEntryClick: (id: Int) -> Unit
|
onEntryClick: (id: Int) -> Unit
|
||||||
) {
|
) {
|
||||||
if (watcherManager.getEntries().isEmpty()) {
|
if (watcherManager.getEntries().isEmpty()) {
|
||||||
watcherManager.addFile(File("/home/aro/IdeaProjects/Wrench/dummy"))
|
//watcherManager.addFile(File("/home/aro/IdeaProjects/Wrench/dummy"))
|
||||||
DefaultDisplay()
|
DefaultDisplay()
|
||||||
} else {
|
} else {
|
||||||
InputEntries(minmode, watcherManager, onEntryClick)
|
InputEntries(minmode, watcherManager, onEntryClick)
|
||||||
|
|
Reference in a new issue