Skip to content

Commit

Permalink
Remove useless functions
Browse files Browse the repository at this point in the history
  • Loading branch information
darkokoa committed Apr 19, 2024
1 parent 5af942d commit 4705732
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,3 @@ class AppActivity : ComponentActivity() {
}
}
}

internal actual fun openUrl(url: String?) {
val uri = url?.let { Uri.parse(it) } ?: return
val intent = Intent().apply {
action = Intent.ACTION_VIEW
data = uri
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
}
AndroidApp.INSTANCE.startActivity(intent)
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,3 @@ internal fun App() = AppTheme {
}
}
}

internal expect fun openUrl(url: String?)

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 4705732

Please sign in to comment.