File tree Expand file tree Collapse file tree
app/src/main/kotlin/io/homeassistant/companion/android Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ sealed interface FrontendTarget : Parcelable {
3535 }
3636
3737 /* *
38- * Serializes this target back to the raw path string, persisted
38+ * Serializes this target back to the raw path string
3939 * Returns `null` for [FrontendTarget.Default].
4040 */
4141 internal fun FrontendTarget.toRawPath (): String? = when (this ) {
Original file line number Diff line number Diff line change @@ -9,15 +9,14 @@ import androidx.glance.action.Action
99import androidx.glance.appwidget.action.actionStartActivity
1010import io.homeassistant.companion.android.frontend.navigation.FrontendTarget
1111import io.homeassistant.companion.android.launch.intentLaunchWithNavigateTo
12- import io.homeassistant.companion.android.webview.WebViewActivity
1312
1413@Composable
1514@ReadOnlyComposable
1615fun glanceStringResource (@StringRes id : Int , vararg arguments : Any ): String =
1716 LocalContext .current.getString(id, * arguments)
1817
1918/* *
20- * Get an Action that will open the [WebViewActivity] for the given [path]
19+ * Get an Action that will open the frontend for the given [path]
2120 */
2221@Composable
2322fun actionStartWebView (path : String , serverId : Int ): Action {
You can’t perform that action at this time.
0 commit comments