Skip to content

Commit

Permalink
refactor: remove leftover discovered server code
Browse files Browse the repository at this point in the history
  • Loading branch information
jarnedemeulemeester committed Nov 16, 2024
1 parent 39be758 commit 4c849f8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 108 deletions.

This file was deleted.

47 changes: 0 additions & 47 deletions app/phone/src/main/res/layout/discovered_server_item.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import dev.jdtech.jellyfin.models.UiText
import dev.jdtech.jellyfin.setup.domain.SetupRepository
import kotlinx.coroutines.CancellationException
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutines.flow.receiveAsFlow
Expand Down Expand Up @@ -57,8 +56,6 @@ constructor(
_state.value.copy(isLoading = true, error = null),
)

delay(2000)

try {
val server = repository.addServer(address)
appPreferences.currentServer = server.id
Expand Down

0 comments on commit 4c849f8

Please sign in to comment.