Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some comments #1480

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/src/main/java/com/jerboa/Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ fun recCreateAndGenMissingCommentData(
map[parentId] = missingNode
missingNode.children.add(currCommentNodeData)
currCommentNodeData.parent = missingNode
// The the missing parent needs to be correctly weaved into the tree
// The missing parent needs to be correctly weaved into the tree
// It needs a parent, and it needs to be added to the parent's children
// The parent may also be missing, so we need to recursively call this function
recCreateAndGenMissingCommentData(map, tree, parentPath, missingNode, rootCommentId)
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/jerboa/db/AppDBMigrations.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ val MIGRATION_4_5 =
// Material v3 migration
// Remove dark_theme and light_theme
// Add theme_color
// SQLITE for android cant drop columns, you have to redo the table
// SQLITE for android can't drop columns, you have to redo the table
db.execSQL(
"""
CREATE TABLE IF NOT EXISTS AppSettingsBackup(
Expand Down Expand Up @@ -104,7 +104,7 @@ val MIGRATION_8_9 =
object : Migration(8, 9) {
override fun migrate(db: SupportSQLiteDatabase) {
// Add new default_font_size of 16
// SQLITE for android cant drop columns or redo defaults, you have to redo the table
// SQLITE for android can't drop columns or redo defaults, you have to redo the table
db.execSQL(
"""
CREATE TABLE IF NOT EXISTS AppSettingsBackup(
Expand Down