refactor(android): move link metadata extraction to Unfurl

Crux is doing major changes for no good reason
This commit is contained in:
Harsh Shandilya 2023-07-17 14:58:30 +05:30
parent 37f42dc107
commit 0359860b82
7 changed files with 41 additions and 43 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright © 2022 Harsh Shandilya.
* Copyright © 2022-2023 Harsh Shandilya.
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
@ -8,8 +8,10 @@
package dev.msfjarvis.claw.model
data class LinkMetadata(
import dev.drewhamilton.poko.Poko
@Poko
class LinkMetadata(
val url: String,
val faviconUrl: String?,
val readingTime: String?,
)