Skip to content

Commit 630d93e

Browse files
CanerKaraca23rhunk
andauthored
chore: update dependencies (#644)
Co-authored-by: rhunk <[email protected]>
1 parent 99a2bae commit 630d93e

File tree

14 files changed

+100
-47
lines changed

14 files changed

+100
-47
lines changed

app/src/main/kotlin/me/rhunk/snapenhance/ui/manager/Navigation.kt

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import androidx.compose.animation.fadeIn
66
import androidx.compose.animation.fadeOut
77
import androidx.compose.foundation.layout.*
88
import androidx.compose.material.icons.Icons
9-
import androidx.compose.material.icons.filled.ArrowBack
9+
import androidx.compose.material.icons.automirrored.filled.ArrowBack
1010
import androidx.compose.material3.*
1111
import androidx.compose.runtime.Composable
1212
import androidx.compose.runtime.getValue
@@ -60,7 +60,7 @@ class Navigation(
6060
}
6161
}
6262
) {
63-
Icon(Icons.Filled.ArrowBack, contentDescription = null)
63+
Icon(Icons.AutoMirrored.Filled.ArrowBack, contentDescription = null)
6464
}
6565
}
6666
}, actions = {
@@ -78,7 +78,6 @@ class Navigation(
7878
primaryRoutes.forEach { route ->
7979
NavigationBarItem(
8080
alwaysShowLabel = false,
81-
modifier = Modifier.fillMaxHeight(),
8281
icon = {
8382
Icon(imageVector = route.routeInfo.icon, contentDescription = null)
8483
},

app/src/main/kotlin/me/rhunk/snapenhance/ui/manager/pages/TasksRoot.kt

+5-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import androidx.compose.foundation.lazy.LazyColumn
88
import androidx.compose.foundation.lazy.items
99
import androidx.compose.foundation.lazy.rememberLazyListState
1010
import androidx.compose.material.icons.Icons
11-
import androidx.compose.material.icons.filled.*
11+
import androidx.compose.material.icons.automirrored.filled.OpenInNew
12+
import androidx.compose.material.icons.filled.*
1213
import androidx.compose.material3.*
1314
import androidx.compose.runtime.*
1415
import androidx.compose.ui.Alignment
@@ -148,7 +149,7 @@ class TasksRoot : Routes.Route() {
148149
context.log.error("Failed to open file ${taskSelection.first().second}", it)
149150
}
150151
}) {
151-
Icon(Icons.Filled.OpenInNew, contentDescription = "Open")
152+
Icon(Icons.AutoMirrored.Filled.OpenInNew, contentDescription = "Open")
152153
}
153154
}
154155
}
@@ -348,8 +349,8 @@ class TasksRoot : Routes.Route() {
348349
}
349350
if (taskProgress != -1) {
350351
LinearProgressIndicator(
351-
progress = taskProgress.toFloat() / 100f,
352-
strokeCap = StrokeCap.Round
352+
progress = { taskProgress.toFloat() / 100f },
353+
strokeCap = StrokeCap.Round,
353354
)
354355
} else {
355356
task.extra?.let {

app/src/main/kotlin/me/rhunk/snapenhance/ui/manager/pages/features/FeaturesRoot.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import androidx.compose.foundation.lazy.items
1212
import androidx.compose.foundation.shape.RoundedCornerShape
1313
import androidx.compose.foundation.text.KeyboardActions
1414
import androidx.compose.material.icons.Icons
15+
import androidx.compose.material.icons.automirrored.filled.OpenInNew
1516
import androidx.compose.material.icons.filled.Close
1617
import androidx.compose.material.icons.filled.FolderOpen
1718
import androidx.compose.material.icons.filled.MoreVert
18-
import androidx.compose.material.icons.filled.OpenInNew
1919
import androidx.compose.material.icons.filled.Search
2020
import androidx.compose.material.icons.rounded.Save
2121
import androidx.compose.material3.*
@@ -239,7 +239,7 @@ class FeaturesRoot : Routes.Route() {
239239
}
240240
} else {
241241
IconButton(onClick = it) {
242-
Icon(Icons.Filled.OpenInNew, contentDescription = null)
242+
Icon(Icons.AutoMirrored.Filled.OpenInNew, contentDescription = null)
243243
}
244244
}
245245
}

app/src/main/kotlin/me/rhunk/snapenhance/ui/manager/pages/home/HomeSettings.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import androidx.compose.foundation.clickable
55
import androidx.compose.foundation.layout.*
66
import androidx.compose.foundation.verticalScroll
77
import androidx.compose.material.icons.Icons
8-
import androidx.compose.material.icons.filled.OpenInNew
8+
import androidx.compose.material.icons.automirrored.filled.OpenInNew
99
import androidx.compose.material3.*
1010
import androidx.compose.runtime.*
1111
import androidx.compose.ui.Alignment
@@ -78,7 +78,7 @@ class HomeSettings : Routes.Route() {
7878
Text(text = title, modifier = Modifier.padding(start = 26.dp))
7979
IconButton(onClick = { takeAction() }) {
8080
Icon(
81-
imageVector = Icons.Filled.OpenInNew,
81+
imageVector = Icons.AutoMirrored.Filled.OpenInNew,
8282
contentDescription = null,
8383
modifier = Modifier.size(24.dp)
8484
)

app/src/main/kotlin/me/rhunk/snapenhance/ui/manager/pages/scripting/ScriptingRoot.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import androidx.compose.foundation.clickable
55
import androidx.compose.foundation.layout.*
66
import androidx.compose.foundation.lazy.LazyColumn
77
import androidx.compose.material.icons.Icons
8+
import androidx.compose.material.icons.automirrored.filled.LibraryBooks
89
import androidx.compose.material.icons.filled.FolderOpen
9-
import androidx.compose.material.icons.filled.LibraryBooks
1010
import androidx.compose.material.icons.filled.Link
1111
import androidx.compose.material.icons.filled.Settings
1212
import androidx.compose.material3.*
@@ -295,7 +295,7 @@ class ScriptingRoot : Routes.Route() {
295295
flags = Intent.FLAG_ACTIVITY_NEW_TASK
296296
})
297297
}) {
298-
Icon(imageVector = Icons.Default.LibraryBooks, contentDescription = "Documentation")
298+
Icon(imageVector = Icons.AutoMirrored.Default.LibraryBooks, contentDescription = "Documentation")
299299
}
300300
}
301301
}

app/src/main/kotlin/me/rhunk/snapenhance/ui/manager/pages/social/MessagingPreview.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,11 @@ class MessagingPreview: Routes.Route() {
250250
Text("Processed ${processMessageCount.intValue} messages")
251251
if (activeTask?.hasFixedGoal() == true) {
252252
LinearProgressIndicator(
253+
progress = { processMessageCount.intValue.toFloat() / selectedMessages.size.toFloat() },
253254
modifier = Modifier
254255
.fillMaxWidth()
255256
.padding(5.dp),
256-
progress = processMessageCount.intValue.toFloat() / selectedMessages.size.toFloat(),
257-
color = MaterialTheme.colorScheme.primary
257+
color = MaterialTheme.colorScheme.primary,
258258
)
259259
} else {
260260
CircularProgressIndicator(

app/src/main/kotlin/me/rhunk/snapenhance/ui/manager/pages/social/SocialRoot.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class SocialRoot : Routes.Route() {
105105
val group = groupList[index]
106106
Column(
107107
modifier = Modifier
108-
.padding(10.dp)
108+
.padding(7.dp)
109109
.fillMaxWidth()
110110
.weight(1f)
111111
) {
@@ -137,7 +137,7 @@ class SocialRoot : Routes.Route() {
137137
)
138138
Column(
139139
modifier = Modifier
140-
.padding(10.dp)
140+
.padding(7.dp)
141141
.fillMaxWidth()
142142
.weight(1f)
143143
) {
@@ -228,7 +228,7 @@ class SocialRoot : Routes.Route() {
228228
) { paddingValues ->
229229
Column(modifier = Modifier.padding(paddingValues)) {
230230
TabRow(selectedTabIndex = pagerState.currentPage, indicator = { tabPositions ->
231-
TabRowDefaults.Indicator(
231+
TabRowDefaults.SecondaryIndicator(
232232
Modifier.pagerTabIndicatorOffset(
233233
pagerState = pagerState,
234234
tabPositions = tabPositions

app/src/main/kotlin/me/rhunk/snapenhance/ui/setup/SetupActivity.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import androidx.compose.animation.core.animateFloatAsState
99
import androidx.compose.foundation.background
1010
import androidx.compose.foundation.layout.*
1111
import androidx.compose.material.icons.Icons
12-
import androidx.compose.material.icons.filled.ArrowForwardIos
12+
import androidx.compose.material.icons.automirrored.filled.ArrowForwardIos
1313
import androidx.compose.material.icons.filled.Check
1414
import androidx.compose.material3.FilledIconButton
1515
import androidx.compose.material3.Icon
@@ -122,7 +122,7 @@ class SetupActivity : ComponentActivity() {
122122
imageVector = if (requiredScreens.size <= 1 && canGoNext) {
123123
Icons.Default.Check
124124
} else {
125-
Icons.Default.ArrowForwardIos
125+
Icons.AutoMirrored.Default.ArrowForwardIos
126126
},
127127
contentDescription = null
128128
)

common/src/main/assets/lang/tr_TR.json

+55-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
"home_logs": "Kayıtlar",
2929
"social": "Sosyal",
3030
"scripts": "Scriptler",
31-
"tasks": "Görevler"
31+
"tasks": "Görevler",
32+
"logger_history": "Kaydedici Geçmişi",
33+
"logged_stories": "Kaydedilen Hikayeler",
34+
"manage_scope": "Kapsamı Yönet",
35+
"messaging_preview": "Önizleme"
3236
},
3337
"sections": {
3438
"home": {
@@ -521,6 +525,22 @@
521525
"disable_memories_snap_feed": {
522526
"description": "Kamerada yukarı kaydırdığınızda Snapchat'in son anıları göstermesini engeller",
523527
"name": "Anılar Snap Feed'ini Devre Dışı Bırak"
528+
},
529+
"default_video_playback_rate": {
530+
"name": "Varsayılan Video Oynatma Hızı",
531+
"description": "Videoların oynatılması için varsayılan hızı ayarlar\nDeğer 0.1 ile 4.0 arasında olmalıdır"
532+
},
533+
"video_playback_rate_slider": {
534+
"name": "Video Oynatma Hızı Kaydırıcısı",
535+
"description": "Video oynatma hızını değiştirmek için opera içerik menüsüne bir kaydırıcı ekler\nNot: Değişiklikler yalnızca sonraki videolar için geçerlidir"
536+
},
537+
"default_volume_controls": {
538+
"name": "Varsayılan Ses Kontrolleri",
539+
"description": "Snapchat'i sistem ses kontrollerini kullanmaya zorlar"
540+
},
541+
"disable_permission_requests": {
542+
"name": "İzin İsteklerini Devre Dışı Bırak",
543+
"description": "Snapchat'in belirli izinleri istemesini engeller"
524544
}
525545
}
526546
},
@@ -693,6 +713,20 @@
693713
"story_logger": {
694714
"description": "Arkadaş hikayelerinin bir tarihçesini sunar",
695715
"name": "Hikaye Kaydedici"
716+
},
717+
"session_events": {
718+
"name": "Oturum Etkinlikleri",
719+
"description": "Oturum olaylarını kaydeder",
720+
"properties": {
721+
"capture_duplex_events": {
722+
"name": "Çift Yönlü Olayları Yakalama",
723+
"description": "Bir oturum aktifken varlık ve mesajlaşma olaylarını yakalama"
724+
},
725+
"allow_running_in_background": {
726+
"name": "Arka Planda Çalışmaya İzin Ver",
727+
"description": "Oturumun arka planda çalışmasına izin verir"
728+
}
729+
}
696730
}
697731
}
698732
},
@@ -870,6 +904,17 @@
870904
"disable_cameras": {
871905
"front": "Ön Kamera",
872906
"back": "Arka Kamera"
907+
},
908+
"disable_permission_requests": {
909+
"read_media_images": "Medya Görsellerini Oku",
910+
"microphone": "Mikrofon",
911+
"read_contacts": "Kişileri Oku",
912+
"nearby_devices": "Yakındaki Cihazlar",
913+
"phone_calls": "Telefon Çağrıları",
914+
"notifications": "Bildirimler",
915+
"read_media_video": "Medya Videosunu Oku",
916+
"camera": "Kamera",
917+
"location": "Konum"
873918
}
874919
}
875920
},
@@ -1061,7 +1106,8 @@
10611106
"none": "Hiçbiri",
10621107
"profile_picture": "Profil Fotoğrafı",
10631108
"story": "Hikaye",
1064-
"chat_media": "Sohbet Medyası"
1109+
"chat_media": "Sohbet Medyası",
1110+
"message_logger": "Mesaj Kaydedici"
10651111
},
10661112
"material3_strings": {
10671113
"date_input_invalid_not_allowed": "Geçersiz tarih",
@@ -1077,5 +1123,12 @@
10771123
"date_range_picker_scroll_to_next_month": "Sonraki ay",
10781124
"date_range_picker_title": "Tarih aralığı seçin",
10791125
"date_input_invalid_year_range": "Geçersiz yıl"
1126+
},
1127+
"mark_as_seen": {
1128+
"unseen_toast": "Görülmedi olarak işaretlendi!",
1129+
"already_seen_toast": "Zaten görüldü olarak işaretlendi!",
1130+
"already_unseen_toast": "Zaten görülmemiş olarak işaretlendi!",
1131+
"no_unseen_snaps_toast": "Görülmeyen Snap bulunamadı!",
1132+
"seen_toast": "Görüldü olarak işaretlendi!"
10801133
}
10811134
}

core/src/main/kotlin/me/rhunk/snapenhance/core/action/impl/ExportMemories.kt

+4-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,10 @@ class ExportMemories : AbstractAction() {
245245

246246
if (exportJob != null) {
247247
Text(text = "Exporting memories... (${exportProgress.second} failed)", modifier = Modifier.fillMaxWidth(), textAlign = TextAlign.Center)
248-
LinearProgressIndicator(progress = exportProgress.first / 100f, Modifier.fillMaxWidth())
248+
LinearProgressIndicator(
249+
progress = { exportProgress.first / 100f },
250+
modifier = Modifier.fillMaxWidth(),
251+
)
249252
Row(
250253
modifier = Modifier.fillMaxWidth(),
251254
horizontalArrangement = Arrangement.SpaceEvenly,

gradle/libs.versions.toml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
[versions]
2-
agp = "8.2.1"
3-
apksig = "8.2.1"
2+
agp = "8.2.2"
3+
apksig = "8.2.2"
44
libsu = "5.2.2"
55
guava = "33.0.0-jre"
66
jsoup = "1.17.2"
77
kotlin = "1.9.22"
8-
kotlinx-coroutines-android = "1.7.3"
9-
compose-compiler = "1.5.8"
8+
kotlinx-coroutines-android = "1.8.0"
9+
compose-compiler = "1.5.9"
1010

1111
activity-ktx = "1.8.2"
1212
androidx-documentfile = "1.1.0-alpha01"
1313
coil-compose = "2.5.0"
14-
navigation-compose = "2.7.6"
14+
navigation-compose = "2.7.7"
1515
osmdroid-android = "6.1.18"
1616
recyclerview = "1.3.2"
1717

18-
compose-bom = "2023.10.01"
18+
compose-bom = "2024.02.01"
1919
bcprov-jdk18on = "1.77"
20-
dexlib2 = "3.0.3"
20+
dexlib2 = "3.0.5"
2121
ffmpeg-kit = "5.1.LTS" # DO NOT UPDATE FFMPEG-KIT TO "5.1" it breaks stuff :3
2222
gson = "2.10.1"
23-
junit = "4.13.2"
24-
material3 = "1.1.2"
23+
junit = "5.10.2"
24+
material3 = "1.2.0"
2525
okhttp = "5.0.0-alpha.12"
2626
rhino = "1.7.14"
2727

@@ -48,7 +48,7 @@ ffmpeg-kit = { group = "com.arthenica", name = "ffmpeg-kit-full-gpl", version.re
4848
gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
4949
guava = { module = "com.google.guava:guava", version.ref = "guava" }
5050
jsoup = { module = "org.jsoup:jsoup", version.ref = "jsoup" }
51-
junit = { module = "junit:junit", version.ref = "junit" }
51+
junit = { group = "org.junit.vintage", name = "junit-vintage-engine", version.ref = "junit" }
5252
okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "okhttp" }
5353
osmdroid-android = { group = "org.osmdroid", name = "osmdroid-android", version.ref = "osmdroid-android" }
5454
recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "recyclerview" }

gradle/wrapper/gradle-wrapper.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=9d926787066a081739e8200858338b4a69e837c3a821a33aca9db09dd4a41026
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
54
networkTimeout=10000
65
validateDistributionUrl=true
76
zipStoreBase=GRADLE_USER_HOME

gradlew.bat

+10-10
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343
%JAVA_EXE% -version >NUL 2>&1
4444
if %ERRORLEVEL% equ 0 goto execute
4545

46-
echo.
47-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48-
echo.
49-
echo Please set the JAVA_HOME variable in your environment to match the
50-
echo location of your Java installation.
46+
echo. 1>&2
47+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
48+
echo. 1>&2
49+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
50+
echo location of your Java installation. 1>&2
5151

5252
goto fail
5353

@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5757

5858
if exist "%JAVA_EXE%" goto execute
5959

60-
echo.
61-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62-
echo.
63-
echo Please set the JAVA_HOME variable in your environment to match the
64-
echo location of your Java installation.
60+
echo. 1>&2
61+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
62+
echo. 1>&2
63+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
64+
echo location of your Java installation. 1>&2
6565

6666
goto fail
6767

manager/src/main/kotlin/me/rhunk/snapenhance/manager/ui/Navigation.kt

-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import androidx.compose.animation.core.tween
55
import androidx.compose.animation.fadeIn
66
import androidx.compose.animation.fadeOut
77
import androidx.compose.foundation.layout.PaddingValues
8-
import androidx.compose.foundation.layout.fillMaxHeight
98
import androidx.compose.foundation.layout.padding
109
import androidx.compose.foundation.layout.wrapContentWidth
1110
import androidx.compose.material3.*
@@ -97,7 +96,6 @@ class Navigation(
9796
NavigationBarItem(
9897
selected = navBackStackEntry?.destination?.hierarchy?.any { it.route == tab.route || tabSubRoutes.contains(it.route) } == true,
9998
alwaysShowLabel = false,
100-
modifier = Modifier.fillMaxHeight(),
10199
icon = {
102100
Icon(imageVector = tab.icon!!, contentDescription = null)
103101
},

0 commit comments

Comments
 (0)