chore: update dependencies (#644)

Co-authored-by: rhunk <101876869+rhunk@users.noreply.github.com>
This commit is contained in:
Caner Karaca 2024-03-02 00:54:56 +03:00 committed by GitHub
parent 99a2baebaa
commit 630d93ede6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
14 changed files with 100 additions and 47 deletions

View File

@ -6,7 +6,7 @@ import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.foundation.layout.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.material.icons.automirrored.filled.ArrowBack
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
@ -60,7 +60,7 @@ class Navigation(
}
}
) {
Icon(Icons.Filled.ArrowBack, contentDescription = null)
Icon(Icons.AutoMirrored.Filled.ArrowBack, contentDescription = null)
}
}
}, actions = {
@ -78,7 +78,6 @@ class Navigation(
primaryRoutes.forEach { route ->
NavigationBarItem(
alwaysShowLabel = false,
modifier = Modifier.fillMaxHeight(),
icon = {
Icon(imageVector = route.routeInfo.icon, contentDescription = null)
},

View File

@ -8,7 +8,8 @@ import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.*
import androidx.compose.material.icons.automirrored.filled.OpenInNew
import androidx.compose.material.icons.filled.*
import androidx.compose.material3.*
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
@ -148,7 +149,7 @@ class TasksRoot : Routes.Route() {
context.log.error("Failed to open file ${taskSelection.first().second}", it)
}
}) {
Icon(Icons.Filled.OpenInNew, contentDescription = "Open")
Icon(Icons.AutoMirrored.Filled.OpenInNew, contentDescription = "Open")
}
}
}
@ -348,8 +349,8 @@ class TasksRoot : Routes.Route() {
}
if (taskProgress != -1) {
LinearProgressIndicator(
progress = taskProgress.toFloat() / 100f,
strokeCap = StrokeCap.Round
progress = { taskProgress.toFloat() / 100f },
strokeCap = StrokeCap.Round,
)
} else {
task.extra?.let {

View File

@ -12,10 +12,10 @@ import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.text.KeyboardActions
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.OpenInNew
import androidx.compose.material.icons.filled.Close
import androidx.compose.material.icons.filled.FolderOpen
import androidx.compose.material.icons.filled.MoreVert
import androidx.compose.material.icons.filled.OpenInNew
import androidx.compose.material.icons.filled.Search
import androidx.compose.material.icons.rounded.Save
import androidx.compose.material3.*
@ -239,7 +239,7 @@ class FeaturesRoot : Routes.Route() {
}
} else {
IconButton(onClick = it) {
Icon(Icons.Filled.OpenInNew, contentDescription = null)
Icon(Icons.AutoMirrored.Filled.OpenInNew, contentDescription = null)
}
}
}

View File

@ -5,7 +5,7 @@ import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.OpenInNew
import androidx.compose.material.icons.automirrored.filled.OpenInNew
import androidx.compose.material3.*
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
@ -78,7 +78,7 @@ class HomeSettings : Routes.Route() {
Text(text = title, modifier = Modifier.padding(start = 26.dp))
IconButton(onClick = { takeAction() }) {
Icon(
imageVector = Icons.Filled.OpenInNew,
imageVector = Icons.AutoMirrored.Filled.OpenInNew,
contentDescription = null,
modifier = Modifier.size(24.dp)
)

View File

@ -5,8 +5,8 @@ import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.LibraryBooks
import androidx.compose.material.icons.filled.FolderOpen
import androidx.compose.material.icons.filled.LibraryBooks
import androidx.compose.material.icons.filled.Link
import androidx.compose.material.icons.filled.Settings
import androidx.compose.material3.*
@ -295,7 +295,7 @@ class ScriptingRoot : Routes.Route() {
flags = Intent.FLAG_ACTIVITY_NEW_TASK
})
}) {
Icon(imageVector = Icons.Default.LibraryBooks, contentDescription = "Documentation")
Icon(imageVector = Icons.AutoMirrored.Default.LibraryBooks, contentDescription = "Documentation")
}
}
}

View File

@ -250,11 +250,11 @@ class MessagingPreview: Routes.Route() {
Text("Processed ${processMessageCount.intValue} messages")
if (activeTask?.hasFixedGoal() == true) {
LinearProgressIndicator(
progress = { processMessageCount.intValue.toFloat() / selectedMessages.size.toFloat() },
modifier = Modifier
.fillMaxWidth()
.padding(5.dp),
progress = processMessageCount.intValue.toFloat() / selectedMessages.size.toFloat(),
color = MaterialTheme.colorScheme.primary
color = MaterialTheme.colorScheme.primary,
)
} else {
CircularProgressIndicator(

View File

@ -105,7 +105,7 @@ class SocialRoot : Routes.Route() {
val group = groupList[index]
Column(
modifier = Modifier
.padding(10.dp)
.padding(7.dp)
.fillMaxWidth()
.weight(1f)
) {
@ -137,7 +137,7 @@ class SocialRoot : Routes.Route() {
)
Column(
modifier = Modifier
.padding(10.dp)
.padding(7.dp)
.fillMaxWidth()
.weight(1f)
) {
@ -228,7 +228,7 @@ class SocialRoot : Routes.Route() {
) { paddingValues ->
Column(modifier = Modifier.padding(paddingValues)) {
TabRow(selectedTabIndex = pagerState.currentPage, indicator = { tabPositions ->
TabRowDefaults.Indicator(
TabRowDefaults.SecondaryIndicator(
Modifier.pagerTabIndicatorOffset(
pagerState = pagerState,
tabPositions = tabPositions

View File

@ -9,7 +9,7 @@ import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ArrowForwardIos
import androidx.compose.material.icons.automirrored.filled.ArrowForwardIos
import androidx.compose.material.icons.filled.Check
import androidx.compose.material3.FilledIconButton
import androidx.compose.material3.Icon
@ -122,7 +122,7 @@ class SetupActivity : ComponentActivity() {
imageVector = if (requiredScreens.size <= 1 && canGoNext) {
Icons.Default.Check
} else {
Icons.Default.ArrowForwardIos
Icons.AutoMirrored.Default.ArrowForwardIos
},
contentDescription = null
)

View File

@ -28,7 +28,11 @@
"home_logs": "Kayıtlar",
"social": "Sosyal",
"scripts": "Scriptler",
"tasks": "Görevler"
"tasks": "Görevler",
"logger_history": "Kaydedici Geçmişi",
"logged_stories": "Kaydedilen Hikayeler",
"manage_scope": "Kapsamı Yönet",
"messaging_preview": "Önizleme"
},
"sections": {
"home": {
@ -521,6 +525,22 @@
"disable_memories_snap_feed": {
"description": "Kamerada yukarı kaydırdığınızda Snapchat'in son anıları göstermesini engeller",
"name": "Anılar Snap Feed'ini Devre Dışı Bırak"
},
"default_video_playback_rate": {
"name": "Varsayılan Video Oynatma Hızı",
"description": "Videoların oynatılması için varsayılan hızı ayarlar\nDeğer 0.1 ile 4.0 arasında olmalıdır"
},
"video_playback_rate_slider": {
"name": "Video Oynatma Hızı Kaydırıcısı",
"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"
},
"default_volume_controls": {
"name": "Varsayılan Ses Kontrolleri",
"description": "Snapchat'i sistem ses kontrollerini kullanmaya zorlar"
},
"disable_permission_requests": {
"name": "İzin İsteklerini Devre Dışı Bırak",
"description": "Snapchat'in belirli izinleri istemesini engeller"
}
}
},
@ -693,6 +713,20 @@
"story_logger": {
"description": "Arkadaş hikayelerinin bir tarihçesini sunar",
"name": "Hikaye Kaydedici"
},
"session_events": {
"name": "Oturum Etkinlikleri",
"description": "Oturum olaylarını kaydeder",
"properties": {
"capture_duplex_events": {
"name": "Çift Yönlü Olayları Yakalama",
"description": "Bir oturum aktifken varlık ve mesajlaşma olaylarını yakalama"
},
"allow_running_in_background": {
"name": "Arka Planda Çalışmaya İzin Ver",
"description": "Oturumun arka planda çalışmasına izin verir"
}
}
}
}
},
@ -870,6 +904,17 @@
"disable_cameras": {
"front": "Ön Kamera",
"back": "Arka Kamera"
},
"disable_permission_requests": {
"read_media_images": "Medya Görsellerini Oku",
"microphone": "Mikrofon",
"read_contacts": "Kişileri Oku",
"nearby_devices": "Yakındaki Cihazlar",
"phone_calls": "Telefon Çağrıları",
"notifications": "Bildirimler",
"read_media_video": "Medya Videosunu Oku",
"camera": "Kamera",
"location": "Konum"
}
}
},
@ -1061,7 +1106,8 @@
"none": "Hiçbiri",
"profile_picture": "Profil Fotoğrafı",
"story": "Hikaye",
"chat_media": "Sohbet Medyası"
"chat_media": "Sohbet Medyası",
"message_logger": "Mesaj Kaydedici"
},
"material3_strings": {
"date_input_invalid_not_allowed": "Geçersiz tarih",
@ -1077,5 +1123,12 @@
"date_range_picker_scroll_to_next_month": "Sonraki ay",
"date_range_picker_title": "Tarih aralığı seçin",
"date_input_invalid_year_range": "Geçersiz yıl"
},
"mark_as_seen": {
"unseen_toast": "Görülmedi olarak işaretlendi!",
"already_seen_toast": "Zaten görüldü olarak işaretlendi!",
"already_unseen_toast": "Zaten görülmemiş olarak işaretlendi!",
"no_unseen_snaps_toast": "Görülmeyen Snap bulunamadı!",
"seen_toast": "Görüldü olarak işaretlendi!"
}
}

View File

@ -245,7 +245,10 @@ class ExportMemories : AbstractAction() {
if (exportJob != null) {
Text(text = "Exporting memories... (${exportProgress.second} failed)", modifier = Modifier.fillMaxWidth(), textAlign = TextAlign.Center)
LinearProgressIndicator(progress = exportProgress.first / 100f, Modifier.fillMaxWidth())
LinearProgressIndicator(
progress = { exportProgress.first / 100f },
modifier = Modifier.fillMaxWidth(),
)
Row(
modifier = Modifier.fillMaxWidth(),
horizontalArrangement = Arrangement.SpaceEvenly,

View File

@ -1,27 +1,27 @@
[versions]
agp = "8.2.1"
apksig = "8.2.1"
agp = "8.2.2"
apksig = "8.2.2"
libsu = "5.2.2"
guava = "33.0.0-jre"
jsoup = "1.17.2"
kotlin = "1.9.22"
kotlinx-coroutines-android = "1.7.3"
compose-compiler = "1.5.8"
kotlinx-coroutines-android = "1.8.0"
compose-compiler = "1.5.9"
activity-ktx = "1.8.2"
androidx-documentfile = "1.1.0-alpha01"
coil-compose = "2.5.0"
navigation-compose = "2.7.6"
navigation-compose = "2.7.7"
osmdroid-android = "6.1.18"
recyclerview = "1.3.2"
compose-bom = "2023.10.01"
compose-bom = "2024.02.01"
bcprov-jdk18on = "1.77"
dexlib2 = "3.0.3"
dexlib2 = "3.0.5"
ffmpeg-kit = "5.1.LTS" # DO NOT UPDATE FFMPEG-KIT TO "5.1" it breaks stuff :3
gson = "2.10.1"
junit = "4.13.2"
material3 = "1.1.2"
junit = "5.10.2"
material3 = "1.2.0"
okhttp = "5.0.0-alpha.12"
rhino = "1.7.14"
@ -48,7 +48,7 @@ ffmpeg-kit = { group = "com.arthenica", name = "ffmpeg-kit-full-gpl", version.re
gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
guava = { module = "com.google.guava:guava", version.ref = "guava" }
jsoup = { module = "org.jsoup:jsoup", version.ref = "jsoup" }
junit = { module = "junit:junit", version.ref = "junit" }
junit = { group = "org.junit.vintage", name = "junit-vintage-engine", version.ref = "junit" }
okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "okhttp" }
osmdroid-android = { group = "org.osmdroid", name = "osmdroid-android", version.ref = "osmdroid-android" }
recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "recyclerview" }

View File

@ -1,7 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=9d926787066a081739e8200858338b4a69e837c3a821a33aca9db09dd4a41026
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

20
gradlew.bat vendored
View File

@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail

View File

@ -5,7 +5,6 @@ import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.wrapContentWidth
import androidx.compose.material3.*
@ -97,7 +96,6 @@ class Navigation(
NavigationBarItem(
selected = navBackStackEntry?.destination?.hierarchy?.any { it.route == tab.route || tabSubRoutes.contains(it.route) } == true,
alwaysShowLabel = false,
modifier = Modifier.fillMaxHeight(),
icon = {
Icon(imageVector = tab.icon!!, contentDescription = null)
},