File tree Expand file tree Collapse file tree 1 file changed +22
-16
lines changed
android/src/main/java/com/tailscale/ipn/ui/view Expand file tree Collapse file tree 1 file changed +22
-16
lines changed Original file line number Diff line number Diff line change @@ -187,22 +187,28 @@ fun MainView(
187
187
}
188
188
},
189
189
trailingContent = {
190
- Box (modifier = Modifier .weight(1f ), contentAlignment = Alignment .CenterEnd ) {
191
- when (user) {
192
- null -> SettingsButton { navigation.onNavigateToSettings() }
193
- else ->
194
- Box (
195
- contentAlignment = Alignment .Center ,
196
- modifier =
197
- Modifier .size(42 .dp).clip(CircleShape ).clickable {
198
- navigation.onNavigateToSettings()
199
- }) {
200
- Avatar (profile = user, size = 36 ) {
201
- navigation.onNavigateToSettings()
202
- }
203
- }
204
- }
205
- }
190
+ Box (
191
+ modifier =
192
+ Modifier .weight(1f )
193
+ .focusable()
194
+ .clickable { navigation.onNavigateToSettings() }
195
+ .padding(8 .dp),
196
+ contentAlignment = Alignment .CenterEnd ) {
197
+ when (user) {
198
+ null -> SettingsButton { navigation.onNavigateToSettings() }
199
+ else ->
200
+ Box (
201
+ contentAlignment = Alignment .Center ,
202
+ modifier =
203
+ Modifier .size(42 .dp).clip(CircleShape ).focusable().clickable {
204
+ navigation.onNavigateToSettings()
205
+ }) {
206
+ Avatar (profile = user, size = 36 ) {
207
+ navigation.onNavigateToSettings()
208
+ }
209
+ }
210
+ }
211
+ }
206
212
})
207
213
208
214
when (state) {
You can’t perform that action at this time.
0 commit comments