app(ui): remove CMP pilot card (SharedInfoCard) from main content; drop unused import
This commit is contained in:
@@ -126,7 +126,6 @@ import app.klottr.net.uploadImageFromUri
|
|||||||
import app.klottr.shared.SharedPing
|
import app.klottr.shared.SharedPing
|
||||||
import app.klottr.theme.KlottrTheme
|
import app.klottr.theme.KlottrTheme
|
||||||
import app.klottr.ui.NearbyEntryRow
|
import app.klottr.ui.NearbyEntryRow
|
||||||
import app.klottr.ui.SharedInfoCard
|
|
||||||
import app.klottr.util.Auth
|
import app.klottr.util.Auth
|
||||||
import app.klottr.util.Config
|
import app.klottr.util.Config
|
||||||
import app.klottr.util.FoundStore
|
import app.klottr.util.FoundStore
|
||||||
@@ -722,20 +721,6 @@ private fun KlottrApp(
|
|||||||
color = MaterialTheme.colorScheme.onSurface // [NY] Sätt färg direkt så rubriken är tydlig i mörkt läge
|
color = MaterialTheme.colorScheme.onSurface // [NY] Sätt färg direkt så rubriken är tydlig i mörkt läge
|
||||||
)
|
)
|
||||||
Spacer(Modifier.height(6.dp))
|
Spacer(Modifier.height(6.dp))
|
||||||
|
|
||||||
Surface(
|
|
||||||
modifier = Modifier.fillMaxWidth(),
|
|
||||||
tonalElevation = 2.dp,
|
|
||||||
shadowElevation = 0.dp
|
|
||||||
) {
|
|
||||||
Column(Modifier.padding(12.dp)) {
|
|
||||||
SharedInfoCard(
|
|
||||||
textStyle = MaterialTheme.typography.bodyMedium.copy(
|
|
||||||
color = MaterialTheme.colorScheme.onSurface // [OFÖR] Delade kortet får rätt färg i dag/natt
|
|
||||||
)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hittat
|
// Hittat
|
||||||
|
|||||||
Reference in New Issue
Block a user