feat(ui): Rename app from MyIce to MyIceK
Update the app display name in all user-visible locations: Android manifest label, desktop window title, login screen, and schedule screen top bar. Refs #2
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:label="MyIce"
|
android:label="MyIceK"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:enableOnBackInvokedCallback="true"
|
android:enableOnBackInvokedCallback="true"
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ fun LoginScreen(
|
|||||||
verticalArrangement = Arrangement.Center,
|
verticalArrangement = Arrangement.Center,
|
||||||
) {
|
) {
|
||||||
Text(
|
Text(
|
||||||
text = "MyIce",
|
text = "MyIceK",
|
||||||
style = MaterialTheme.typography.headlineLarge,
|
style = MaterialTheme.typography.headlineLarge,
|
||||||
fontWeight = FontWeight.Bold,
|
fontWeight = FontWeight.Bold,
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ fun ScheduleScreen(
|
|||||||
Scaffold(
|
Scaffold(
|
||||||
topBar = {
|
topBar = {
|
||||||
TopAppBar(
|
TopAppBar(
|
||||||
title = { Text("MyIce") },
|
title = { Text("MyIceK") },
|
||||||
actions = {
|
actions = {
|
||||||
val email = (authState as? ch.parano.myice.viewmodel.AuthState.Authenticated)?.email
|
val email = (authState as? ch.parano.myice.viewmodel.AuthState.Authenticated)?.email
|
||||||
if (email != null) {
|
if (email != null) {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import androidx.compose.ui.window.application
|
|||||||
import ch.parano.myice.auth.DesktopOAuthClient
|
import ch.parano.myice.auth.DesktopOAuthClient
|
||||||
|
|
||||||
fun main() = application {
|
fun main() = application {
|
||||||
Window(onCloseRequest = ::exitApplication, title = "MyIce") {
|
Window(onCloseRequest = ::exitApplication, title = "MyIceK") {
|
||||||
App(oauthClient = DesktopOAuthClient())
|
App(oauthClient = DesktopOAuthClient())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user