Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ays committed Jun 24, 2024
1 parent 05ec144 commit 0e62c3f
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 24 deletions.
1 change: 0 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ android {
targetSdk = 34
versionCode = libs.versions.projectVersionCode.get().toInt()
versionName = libs.versions.projectVersionName.get()
//versionNameSuffix = libs.versions.projectVersionNameSuffix.get()

resourceConfigurations += listOf("en", "ru")
}
Expand Down
Binary file modified core/data/src/main/assets/databases/app.db
Binary file not shown.
2 changes: 1 addition & 1 deletion core/ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ android {
it.buildConfigField(
"String",
"VERSION_NAME",
"\"${libs.versions.projectVersionName.get()}${libs.versions.projectVersionNameSuffix.get()}\""
"\"${libs.versions.projectVersionName.get()}\""
)
}
compileOptions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private fun Info() {
)
VerticalSpacer(10.dp)
Text(
text = stringResource(R.string.app_name),
text = stringResource(R.string.app_name_full),
style = MaterialTheme.typography.titleLarge,
fontWeight = FontWeight.SemiBold
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,11 @@ fun AppsContent(component: AppsComponent) {
Scaffold(
topBar = {
CollapsingToolbar(
collapsingTitle = CollapsingTitle.large(
titleText = stringResource(id = R.string.app_name)
collapsingTitle = CollapsingTitle(
stringResource(id = R.string.app_name_full),
MaterialTheme.typography.headlineLarge.copy(
fontWeight = FontWeight.SemiBold
)
),
)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,18 +192,6 @@ fun TabsContent(
Text(text = stringResource(id = R.string.action_ok))
}
},
dismissButton = {
/*TextButton(
onClick = {
dialogComponent.sendIntent(TabsComponent.ModuleInstallDialogActions.Reboot)
},
colors = ButtonDefaults.textButtonColors(
contentColor = MaterialTheme.colorScheme.onSurfaceVariant
)
) {
Text(text = stringResource(id = R.string.action_reboot))
}*/
},
icon = {
Icon(
painter = painterResource(id = R.drawable.ic_boxes),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package ru.blays.hub.core.ui.screens.settingsContent

import androidx.compose.animation.AnimatedContent
import androidx.compose.animation.animateContentSize
import androidx.compose.animation.core.spring
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.animation.scaleIn
Expand Down Expand Up @@ -171,8 +169,7 @@ fun CatalogsSettingScreen(
onDismissRequest = dialogComponent::close,
properties = DialogProperties(
dismissOnClickOutside = false
),
modifier = Modifier.animateContentSize(spring())
)
) {
AddCatalogDialog(component = dialogComponent)
}
Expand Down
4 changes: 2 additions & 2 deletions core/ui/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<resources>
<string name="app_name" translatable="false">BHub</string>
<string name="app_name_full" translatable="false">Blays Hub</string>

<!-- Simple -->
<string name="files">Files</string>
Expand Down Expand Up @@ -109,7 +109,7 @@

<!-- Links -->
<string name="link_tg_group" translatable="false">https://t.me/BHub_app</string>
<string name="link_github_repo" translatable="false">null</string>
<string name="link_github_repo" translatable="false">https://github.com/B1ays/BHub</string>
<string name="link_developer_tg" translatable="false">https://t.me/B1ays</string>
<string name="link_developer_4pda" translatable="false">https://4pda.to/forum/index.php?showuser=7576426</string>
<string name="link_developer_github" translatable="false">https://github.com/B1ays</string>
Expand Down
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[versions]
#Project versions
projectVersionName = "1.0"
projectVersionNameSuffix = "-alpha1"
projectVersionCode = "1"

#Dependencies versions
Expand Down

0 comments on commit 0e62c3f

Please sign in to comment.