Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit f837b93

Browse files
committed
fix: remove Realm DB
1 parent 1d68499 commit f837b93

File tree

51 files changed

+15
-3383
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+15
-3383
lines changed

.idea/compiler.xml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ buildscript {
4242
dependencies {
4343
classpath(libs.kotlin.gradle.plugin)
4444
classpath(libs.nav.safe.args.gradle.plugin)
45-
classpath(libs.realm.gradle.plugin)
4645
}
4746
}
4847

core/app/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ plugins {
2828
id("kotlin-android")
2929
id("kotlin-kapt")
3030
id("kotlin-parcelize")
31-
id("realm-android")
3231
id("androidx.navigation.safeargs.kotlin")
3332
id("com.itsaky.androidide.desugaring")
3433
}

core/app/src/main/java/com/itsaky/androidide/app/IDEApplication.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ import com.itsaky.androidide.utils.flashError
5858
import com.termux.app.TermuxApplication
5959
import com.termux.shared.reflection.ReflectionUtils
6060
import io.github.rosemoe.sora.widget.schemes.EditorColorScheme
61-
import io.realm.Realm
6261
import kotlinx.coroutines.DelicateCoroutinesApi
6362
import kotlinx.coroutines.GlobalScope
6463
import kotlinx.coroutines.launch
@@ -110,8 +109,6 @@ class IDEApplication : TermuxApplication() {
110109

111110
EventBus.getDefault().register(this)
112111

113-
Realm.init(this)
114-
115112
AppCompatDelegate.setDefaultNightMode(GeneralPreferences.uiMode)
116113

117114
if (IThemeManager.getInstance().getCurrentTheme() == IDETheme.MATERIAL_YOU) {

core/database/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

core/database/build.gradle.kts

Lines changed: 0 additions & 41 deletions
This file was deleted.

core/database/consumer-rules.pro

Whitespace-only changes.

core/database/proguard-rules.pro

Lines changed: 0 additions & 21 deletions
This file was deleted.

core/database/src/main/java/com/itsaky/androidide/db/IRealmProvider.kt

Lines changed: 0 additions & 91 deletions
This file was deleted.

core/database/src/main/java/com/itsaky/androidide/db/internal/DatabaseEntity.kt

Lines changed: 0 additions & 66 deletions
This file was deleted.

core/database/src/main/java/com/itsaky/androidide/db/internal/InternalDBRealmModule.kt

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)