@@ -13,8 +13,8 @@ import androidx.compose.foundation.layout.statusBars
13
13
import androidx.compose.foundation.rememberScrollState
14
14
import androidx.compose.foundation.verticalScroll
15
15
import androidx.compose.material.icons.Icons
16
+ import androidx.compose.material.icons.filled.Close
16
17
import androidx.compose.material.icons.filled.Save
17
- import androidx.compose.material.icons.filled.Share
18
18
import androidx.compose.material3.CenterAlignedTopAppBar
19
19
import androidx.compose.material3.ExperimentalMaterial3Api
20
20
import androidx.compose.material3.Icon
@@ -104,15 +104,15 @@ fun SettingsGroupDebug() {
104
104
navigationIcon = {
105
105
IconButton (
106
106
onClick = { showLogcatDialog = false },
107
- content = { Icon (Icons .Default .Save , null ) },
107
+ content = { Icon (Icons .Default .Close , null ) },
108
108
)
109
109
},
110
110
actions = {
111
111
IconButton (
112
112
onClick = {
113
113
saveResultContract.launch(latestCrashFile!! .name)
114
114
},
115
- content = { Icon (Icons .Default .Share , null ) },
115
+ content = { Icon (Icons .Default .Save , null ) },
116
116
)
117
117
},
118
118
)
@@ -145,15 +145,12 @@ fun SettingsGroupDebug() {
145
145
SettingsMenuLink (
146
146
title = { Text (text = " View Logcats" ) },
147
147
subtitle = {
148
- val subtitle by remember {
149
- val text = if (latestCrashFile != null ) {
150
- " Shows the most recent crash log"
151
- } else {
152
- " No recent crash logs found"
153
- }
154
- mutableStateOf(text)
148
+ val text = if (latestCrashFile != null ) {
149
+ " Shows the most recent crash log"
150
+ } else {
151
+ " No recent crash logs found"
155
152
}
156
- Text (text = subtitle )
153
+ Text (text = text )
157
154
},
158
155
enabled = latestCrashFile != null ,
159
156
onClick = { showLogcatDialog = true },
0 commit comments