Skip to content

Commit

Permalink
resolve build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Okuro3499 committed Dec 5, 2024
1 parent 59e3114 commit f8f093f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class MainApplication : Application(), Application.ActivityLifecycleCallbacks {
applyThemeMode(themeMode)
}

suspend fun isServerReachable(urlString: String?): Boolean {
suspend fun isServerReachable(urlString: String): Boolean {
return try {
if (urlString.isBlank()) return false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class BellDashboardViewModel : ViewModel() {
}
}

suspend fun checkServerConnection(serverUrl: String?): Boolean {
suspend fun checkServerConnection(serverUrl: String): Boolean {
return withContext(Dispatchers.IO) {
isServerReachable(serverUrl)
}
Expand Down

0 comments on commit f8f093f

Please sign in to comment.