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

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

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

-1
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

-1
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

-3
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

-1
This file was deleted.

core/database/build.gradle.kts

-41
This file was deleted.

core/database/consumer-rules.pro

Whitespace-only changes.

core/database/proguard-rules.pro

-21
This file was deleted.

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

-91
This file was deleted.

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

-66
This file was deleted.

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

-28
This file was deleted.

0 commit comments

Comments
 (0)