Skip to content

Commit 87e1088

Browse files
fix: Resolve Typography type conflict (kotlin.text vs material3)
- Replace wildcard import (androidx.compose.material3.*) with explicit imports - The wildcard imported kotlin.text.Typography (stdlib) instead of material3 Typography - Call Typography() constructor explicitly Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent aab6753 commit 87e1088

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • android/app/src/main/java/com/example/encryptapp/ui/theme

android/app/src/main/java/com/example/encryptapp/ui/theme/Theme.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ package com.example.encryptapp.ui.theme
22

33
import android.app.Activity
44
import androidx.compose.foundation.isSystemInDarkTheme
5-
import androidx.compose.material3.*
5+
import androidx.compose.material3.MaterialTheme
6+
import androidx.compose.material3.Typography
7+
import androidx.compose.material3.darkColorScheme
8+
import androidx.compose.material3.lightColorScheme
69
import androidx.compose.runtime.Composable
710
import androidx.compose.runtime.SideEffect
811
import androidx.compose.ui.graphics.Color
@@ -57,7 +60,7 @@ fun EncryptAppTheme(
5760

5861
MaterialTheme(
5962
colorScheme = colorScheme,
60-
typography = Typography,
63+
typography = Typography(),
6164
content = content
6265
)
6366
}

0 commit comments

Comments
 (0)