Commit 9c5f890
authored
android: fix progress bar gap (#726)
androidx.compose.material3 1.3.0 added a gap between the active and inactive track and a stop indicator at the end. Here, we add a negative gap to compensate for the rounded cap occupying extra space past the end of the progress, and use an empty function to hide the indicator.
Fixes tailscale/corp#35495
Signed-off-by: kari-ts <kari@tailscale.com>1 parent d0442f7 commit 9c5f890
1 file changed
Lines changed: 6 additions & 1 deletion
File tree
- android/src/main/java/com/tailscale/ipn/ui/view
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
129 | 132 | | |
130 | | - | |
| 133 | + | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
| 137 | + | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
0 commit comments