Skip to content

Commit 01bbb45

Browse files
committed
improved scroll thumb in changelogs screen
1 parent 53c9bbb commit 01bbb45

6 files changed

Lines changed: 153 additions & 190 deletions

File tree

app/lint-baseline.xml

Lines changed: 38 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -46,113 +46,47 @@
4646
</issue>
4747

4848
<issue
49-
id="GradleDependency"
50-
message="A newer version of `compileSdk` than 36 is available: 37"
51-
errorLine1=" version = release(36)"
52-
errorLine2=" ~~~~~~~~~~~">
53-
<location
54-
file="build.gradle.kts"
55-
line="18"
56-
column="19"/>
57-
</issue>
58-
59-
<issue
60-
id="NewerVersionAvailable"
61-
message="A newer version of com.google.api-client:google-api-client-android than 2.7.2 is available: 2.9.0"
62-
errorLine1="googleApiClient = &quot;2.7.2&quot;"
63-
errorLine2=" ~~~~~~~">
64-
<location
65-
file="$HOME/StudioProjects/aShellYou/gradle/libs.versions.toml"
66-
line="14"
67-
column="19"/>
68-
</issue>
69-
70-
<issue
71-
id="NewerVersionAvailable"
72-
message="A newer version of com.google.http-client:google-http-client-gson than 1.46.3 is available: 2.1.0"
73-
errorLine1="googleHttpClientGson = &quot;1.46.3&quot;"
74-
errorLine2=" ~~~~~~~~">
75-
<location
76-
file="$HOME/StudioProjects/aShellYou/gradle/libs.versions.toml"
77-
line="16"
78-
column="24"/>
79-
</issue>
80-
81-
<issue
82-
id="NewerVersionAvailable"
83-
message="A newer version of com.google.code.gson:gson than 2.13.2 is available: 2.14.0"
84-
errorLine1="gson = &quot;2.13.2&quot;"
85-
errorLine2=" ~~~~~~~~">
86-
<location
87-
file="$HOME/StudioProjects/aShellYou/gradle/libs.versions.toml"
88-
line="18"
89-
column="8"/>
90-
</issue>
91-
92-
<issue
93-
id="NewerVersionAvailable"
94-
message="A newer version of org.jetbrains.kotlin.plugin.compose than 2.3.20 is available: 2.3.21"
95-
errorLine1="kotlin = &quot;2.3.20&quot;"
96-
errorLine2=" ~~~~~~~~">
97-
<location
98-
file="$HOME/StudioProjects/aShellYou/gradle/libs.versions.toml"
99-
line="24"
100-
column="10"/>
101-
</issue>
102-
103-
<issue
104-
id="NewerVersionAvailable"
105-
message="A newer version of org.jetbrains.kotlin.plugin.serialization than 2.3.20 is available: 2.3.21"
106-
errorLine1="kotlin = &quot;2.3.20&quot;"
107-
errorLine2=" ~~~~~~~~">
49+
id="AndroidGradlePluginVersion"
50+
message="A newer version of com.android.application than 9.2.0 is available: 9.2.1"
51+
errorLine1="agp = &quot;9.2.0&quot;"
52+
errorLine2=" ~~~~~~~">
10853
<location
10954
file="$HOME/StudioProjects/aShellYou/gradle/libs.versions.toml"
110-
line="24"
111-
column="10"/>
112-
</issue>
113-
114-
<issue
115-
id="NewerVersionAvailable"
116-
message="A newer version of io.ktor:ktor-client-cio than 3.4.2 is available: 3.4.3"
117-
errorLine1="ktor = &quot;3.4.2&quot;"
118-
errorLine2=" ~~~~~~~">
119-
<location
120-
file="$HOME/StudioProjects/aShellYou/gradle/libs.versions.toml"
121-
line="26"
122-
column="8"/>
55+
line="3"
56+
column="7"/>
12357
</issue>
12458

12559
<issue
126-
id="NewerVersionAvailable"
127-
message="A newer version of io.ktor:ktor-client-content-negotiation than 3.4.2 is available: 3.4.3"
128-
errorLine1="ktor = &quot;3.4.2&quot;"
129-
errorLine2=" ~~~~~~~">
60+
id="AndroidGradlePluginVersion"
61+
message="A newer version of com.android.library than 9.2.0 is available: 9.2.1"
62+
errorLine1="agp = &quot;9.2.0&quot;"
63+
errorLine2=" ~~~~~~~">
13064
<location
13165
file="$HOME/StudioProjects/aShellYou/gradle/libs.versions.toml"
132-
line="26"
133-
column="8"/>
66+
line="3"
67+
column="7"/>
13468
</issue>
13569

13670
<issue
137-
id="NewerVersionAvailable"
138-
message="A newer version of io.ktor:ktor-client-core than 3.4.2 is available: 3.4.3"
139-
errorLine1="ktor = &quot;3.4.2&quot;"
140-
errorLine2=" ~~~~~~~">
71+
id="AndroidGradlePluginVersion"
72+
message="A newer version of com.android.tools.build:gradle than 9.2.0 is available: 9.2.1"
73+
errorLine1="agp = &quot;9.2.0&quot;"
74+
errorLine2=" ~~~~~~~">
14175
<location
14276
file="$HOME/StudioProjects/aShellYou/gradle/libs.versions.toml"
143-
line="26"
144-
column="8"/>
77+
line="3"
78+
column="7"/>
14579
</issue>
14680

14781
<issue
148-
id="NewerVersionAvailable"
149-
message="A newer version of io.ktor:ktor-serialization-kotlinx-json than 3.4.2 is available: 3.4.3"
150-
errorLine1="ktor = &quot;3.4.2&quot;"
151-
errorLine2=" ~~~~~~~">
82+
id="GradleDependency"
83+
message="A newer version of `compileSdk` than 36 is available: 37"
84+
errorLine1=" version = release(36)"
85+
errorLine2=" ~~~~~~~~~~~">
15286
<location
153-
file="$HOME/StudioProjects/aShellYou/gradle/libs.versions.toml"
154-
line="26"
155-
column="8"/>
87+
file="build.gradle.kts"
88+
line="18"
89+
column="19"/>
15690
</issue>
15791

15892
<issue
@@ -195,7 +129,7 @@
195129
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
196130
<location
197131
file="src/main/res/values/strings.xml"
198-
line="29"
132+
line="30"
199133
column="5"/>
200134
</issue>
201135

@@ -206,7 +140,7 @@
206140
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
207141
<location
208142
file="src/main/res/values/strings.xml"
209-
line="91"
143+
line="93"
210144
column="5"/>
211145
</issue>
212146

@@ -217,7 +151,7 @@
217151
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
218152
<location
219153
file="src/main/res/values/strings.xml"
220-
line="95"
154+
line="97"
221155
column="5"/>
222156
</issue>
223157

@@ -228,7 +162,7 @@
228162
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
229163
<location
230164
file="src/main/res/values/strings.xml"
231-
line="103"
165+
line="105"
232166
column="5"/>
233167
</issue>
234168

@@ -239,7 +173,7 @@
239173
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
240174
<location
241175
file="src/main/res/values/strings.xml"
242-
line="113"
176+
line="115"
243177
column="5"/>
244178
</issue>
245179

@@ -250,7 +184,7 @@
250184
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
251185
<location
252186
file="src/main/res/values/strings.xml"
253-
line="114"
187+
line="116"
254188
column="5"/>
255189
</issue>
256190

@@ -261,7 +195,7 @@
261195
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
262196
<location
263197
file="src/main/res/values/strings.xml"
264-
line="211"
198+
line="213"
265199
column="5"/>
266200
</issue>
267201

@@ -272,7 +206,7 @@
272206
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
273207
<location
274208
file="src/main/res/values/strings.xml"
275-
line="222"
209+
line="224"
276210
column="5"/>
277211
</issue>
278212

@@ -283,7 +217,7 @@
283217
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
284218
<location
285219
file="src/main/res/values/strings.xml"
286-
line="223"
220+
line="225"
287221
column="5"/>
288222
</issue>
289223

@@ -294,7 +228,7 @@
294228
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
295229
<location
296230
file="src/main/res/values/strings.xml"
297-
line="224"
231+
line="226"
298232
column="5"/>
299233
</issue>
300234

@@ -305,22 +239,22 @@
305239
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
306240
<location
307241
file="src/main/res/values/strings.xml"
308-
line="312"
242+
line="314"
309243
column="5"/>
310244
</issue>
311245

312246
<issue
313247
id="TrustAllX509TrustManager"
314248
message="`checkClientTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
315249
<location
316-
file="$GRADLE_USER_HOME/caches/9.4.1/transforms/32a81debb4323c0bfda5b8df1a440e9f/transformed/out/jars/classes.jar"/>
250+
file="$GRADLE_USER_HOME/caches/9.5.0/transforms/685e69f775ffd85e1dd7a6757751e0c9/transformed/out/jars/classes.jar"/>
317251
</issue>
318252

319253
<issue
320254
id="TrustAllX509TrustManager"
321255
message="`checkServerTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
322256
<location
323-
file="$GRADLE_USER_HOME/caches/9.4.1/transforms/32a81debb4323c0bfda5b8df1a440e9f/transformed/out/jars/classes.jar"/>
257+
file="$GRADLE_USER_HOME/caches/9.5.0/transforms/685e69f775ffd85e1dd7a6757751e0c9/transformed/out/jars/classes.jar"/>
324258
</issue>
325259

326260
<issue

app/src/main/java/in/hridayan/ashell/core/presentation/components/bottomsheet/UpdateBottomSheet.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import androidx.activity.result.contract.ActivityResultContracts
1010
import androidx.compose.animation.core.animateFloatAsState
1111
import androidx.compose.foundation.background
1212
import androidx.compose.foundation.interaction.MutableInteractionSource
13+
import androidx.compose.foundation.layout.Arrangement
1314
import androidx.compose.foundation.layout.Box
1415
import androidx.compose.foundation.layout.Column
1516
import androidx.compose.foundation.layout.Spacer
@@ -275,7 +276,8 @@ fun UpdateBottomSheet(
275276
.padding(10.dp),
276277
textLines = splitStringToLines(latestChangelogText),
277278
textColor = MaterialTheme.colorScheme.onSurfaceVariant,
278-
bulletColor = MaterialTheme.colorScheme.primary
279+
bulletColor = MaterialTheme.colorScheme.primary,
280+
verticalArrangement = Arrangement.spacedBy(15.dp)
279281
)
280282
}
281283

0 commit comments

Comments
 (0)