Skip to content

Commit

Permalink
[WEAR] Adjust theme and names
Browse files Browse the repository at this point in the history
  • Loading branch information
kamgurgul committed Dec 30, 2024
1 parent 111908d commit d29f100
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion wearOsApp/src/androidMain/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
android:value="true" />

<activity
android:name=".MainActivity"
android:name=".WearMainActivity"
android:exported="true"
android:taskAffinity=".main"
android:theme="@style/Theme.Launcher">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import com.google.android.horologist.compose.material.ListHeaderDefaults.firstIt
import com.google.android.horologist.compose.material.ResponsiveListHeader
import com.kgurgul.cpuinfo.wear.theme.WearAppTheme

class MainActivity : ComponentActivity() {
class WearMainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ fun WearAppTheme(
MaterialTheme(
colors = wearColorPalette,
typography = Typography,
// For shapes, we generally recommend using the default Material Wear shapes which are
// optimized for round and non-round devices.
content = content
)
}

0 comments on commit d29f100

Please sign in to comment.