From 652cdecdb9956ef24935a366392348b01b6591fc Mon Sep 17 00:00:00 2001 From: ztftrue Date: Wed, 7 Feb 2024 11:07:36 +0800 Subject: [PATCH] update: add semantics --- app/src/main/java/com/ztftrue/music/ui/home/MainView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/ztftrue/music/ui/home/MainView.kt b/app/src/main/java/com/ztftrue/music/ui/home/MainView.kt index 434c835..37f8330 100644 --- a/app/src/main/java/com/ztftrue/music/ui/home/MainView.kt +++ b/app/src/main/java/com/ztftrue/music/ui/home/MainView.kt @@ -106,7 +106,7 @@ fun MainView( } } Surface( - modifier = Modifier.fillMaxSize(), color = MaterialTheme.colorScheme.background + modifier = Modifier.fillMaxSize().semantics { contentDescription = "MainView" }, color = MaterialTheme.colorScheme.background ) { ModalNavigationDrawer( drawerState = drawerState,