mirror of
https://github.com/foobnix/LibreraReader.git
synced 2025-10-06 00:02:43 +02:00
trunc very long worlds
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#Wed Aug 06 14:01:27 EEST 2025
|
||||
appCodeNumber=6350
|
||||
#Fri Sep 19 12:44:46 EEST 2025
|
||||
appCodeNumber=6354
|
||||
appDB=8
|
||||
appVersionNumberBase=9.0
|
||||
appVersionNumberIndex=18
|
||||
appVersionNumberIndex=19
|
||||
|
@@ -6,7 +6,6 @@ import com.foobnix.model.AppData;
|
||||
import com.foobnix.model.AppState;
|
||||
import com.foobnix.model.SimpleMeta;
|
||||
import com.foobnix.pdf.info.model.BookCSS;
|
||||
import com.foobnix.tts.TtsStatus;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@@ -226,6 +225,7 @@ public class HypenUtils {
|
||||
ignore1 = false;
|
||||
}
|
||||
|
||||
|
||||
public static void tokenize(String in, TokensListener listener) {
|
||||
|
||||
StringBuilder res = new StringBuilder();
|
||||
@@ -261,6 +261,9 @@ public class HypenUtils {
|
||||
|
||||
if (Character.isLetter(ch)) {
|
||||
res.append(ch);
|
||||
if (AppState.get().isExperimental && (res.length() >= 30 && res.length() % 30 == 0)) {
|
||||
res.append(" ");
|
||||
}
|
||||
} else {
|
||||
if (res.length() > 0) {
|
||||
listener.findText(res.toString());
|
||||
|
@@ -95,11 +95,11 @@ dependencies {
|
||||
//BOM end
|
||||
|
||||
|
||||
implementation("androidx.activity:activity-compose:1.10.1")
|
||||
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.9.2")
|
||||
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.9.2")
|
||||
implementation("androidx.core:core-ktx:1.16.0")
|
||||
implementation("androidx.navigation:navigation-compose:2.9.3")
|
||||
implementation("androidx.activity:activity-compose:1.11.0")
|
||||
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.9.4")
|
||||
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.9.4")
|
||||
implementation("androidx.core:core-ktx:1.17.0")
|
||||
implementation("androidx.navigation:navigation-compose:2.9.5")
|
||||
|
||||
|
||||
implementation("io.coil-kt.coil3:coil-compose:3.3.0")
|
||||
@@ -113,7 +113,7 @@ dependencies {
|
||||
implementation("androidx.datastore:datastore-preferences:1.1.7")
|
||||
|
||||
|
||||
implementation(platform("io.insert-koin:koin-bom:4.1.0"))
|
||||
implementation(platform("io.insert-koin:koin-bom:4.1.1"))
|
||||
implementation("io.insert-koin:koin-core")
|
||||
implementation("io.insert-koin:koin-androidx-compose")
|
||||
implementation("io.insert-koin:koin-compose")
|
||||
@@ -126,21 +126,21 @@ dependencies {
|
||||
|
||||
|
||||
|
||||
ksp("androidx.room:room-compiler:2.7.2")
|
||||
implementation("androidx.room:room-runtime:2.7.2")
|
||||
implementation("androidx.room:room-ktx:2.7.2")
|
||||
ksp("androidx.room:room-compiler:2.8.1")
|
||||
implementation("androidx.room:room-runtime:2.8.1")
|
||||
implementation("androidx.room:room-ktx:2.8.1")
|
||||
|
||||
implementation("androidx.sqlite:sqlite-bundled:2.5.2")
|
||||
implementation("androidx.sqlite:sqlite-bundled:2.6.1")
|
||||
|
||||
|
||||
|
||||
implementation("net.java.dev.jna:jna:5.17.0@aar")
|
||||
implementation("net.java.dev.jna:jna:5.18.0@aar")
|
||||
|
||||
implementation("io.github.vinceglb:filekit-dialogs:0.10.0")
|
||||
implementation("io.github.vinceglb:filekit-dialogs-compose:0.10.0")
|
||||
implementation("io.github.vinceglb:filekit-dialogs:0.11.0")
|
||||
implementation("io.github.vinceglb:filekit-dialogs-compose:0.11.0")
|
||||
|
||||
testImplementation("junit:junit:4.13.2")
|
||||
androidTestImplementation(platform("androidx.compose:compose-bom:2025.07.00"))
|
||||
androidTestImplementation(platform("androidx.compose:compose-bom:2025.09.01"))
|
||||
androidTestImplementation("androidx.test.ext:junit:1.3.0")
|
||||
androidTestImplementation("androidx.test.espresso:espresso-core:3.7.0")
|
||||
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
|
||||
|
@@ -16,7 +16,6 @@ import androidx.compose.runtime.getValue
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.unit.dp
|
||||
import mobi.librera.appcompose.bookgrid.BookGridViewModel
|
||||
import mobi.librera.appcompose.media.DirectoryPickerScreen
|
||||
import mobi.librera.appcompose.ui.theme.LibreraTheme
|
||||
import org.koin.androidx.compose.koinViewModel
|
||||
|
||||
@@ -42,8 +41,8 @@ class MainActivity : ComponentActivity() {
|
||||
.fillMaxSize()
|
||||
.padding(innerPadding)
|
||||
) {
|
||||
//NavigationRoot()
|
||||
DirectoryPickerScreen()
|
||||
NavigationRoot()
|
||||
//DirectoryPickerScreen()
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user