Skip to content

Commit b02f0ac

Browse files
committed
formart code after ktlint installation
1 parent d1bfde7 commit b02f0ac

File tree

21 files changed

+37
-65
lines changed

21 files changed

+37
-65
lines changed

.idea/gradle.xml

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

app/src/androidTest/java/dev/marcos/droidnotes/ExampleInstrumentedTest.kt

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

app/src/main/java/dev/marcos/droidnotes/MainActivity.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import androidx.compose.ui.Alignment
2424
import androidx.compose.ui.ExperimentalComposeUiApi
2525
import androidx.compose.ui.Modifier
2626
import androidx.compose.ui.unit.dp
27-
import dev.marcos.droidnotes.domain.Note
2827
import dev.marcos.droidnotes.ui.view.ListLayout
2928
import dev.marcos.droidnotes.ui.view.SheetLayout
3029
import dev.marcos.droidnotes.ui.viewmodel.NotesViewModel
@@ -118,4 +117,4 @@ class MainActivity : ComponentActivity() {
118117
}
119118
}
120119
}
121-
}
120+
}

app/src/main/java/dev/marcos/droidnotes/NotesApplication.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class NotesApplication : Application() {
2121
}
2222

2323
val repository by lazy {
24-
NotesRepository( dataSource )
24+
NotesRepository(dataSource)
2525
}
26-
27-
}
26+
}

app/src/main/java/dev/marcos/droidnotes/data/NotesDataSource.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class NotesDataSource(
1818
}
1919

2020
fun get(note: Note) {
21-
2221
}
2322

2423
suspend fun insert(note: Note) {
@@ -51,4 +50,4 @@ class NotesDataSource(
5150
// }
5251
// }
5352
}
54-
}
53+
}

app/src/main/java/dev/marcos/droidnotes/data/NotesRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ class NotesRepository(private val dataSource: NotesDataSource) {
88
suspend fun insert(note: Note) = dataSource.insert(note)
99
suspend fun update(note: Note) = dataSource.update(note)
1010
suspend fun delete(note: Note) = dataSource.delete(note)
11-
}
11+
}

app/src/main/java/dev/marcos/droidnotes/data/network/GrpcService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ class GrpcService(private val host: String, private val port: Int) {
1313
.usePlaintext()
1414
.build()
1515
}
16-
}
16+
}

app/src/main/java/dev/marcos/droidnotes/data/storage/AppDatabase.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ abstract class AppDatabase : RoomDatabase() {
2626
context.applicationContext,
2727
AppDatabase::class.java,
2828
"notes_database"
29-
) .addCallback(NotesDatabaseCallback(scope))
29+
).addCallback(NotesDatabaseCallback(scope))
3030
.build()
3131
INSTANCE = instance
3232
instance
@@ -69,7 +69,7 @@ abstract class AppDatabase : RoomDatabase() {
6969
)
7070

7171
val loremContent = listOf(
72-
"A bearing, forth Us deep saw night. Fifth also our moved saying. Him one firmament, after life subdue sea bring day, after. Seasons beast there greater a air replenish of, him fly abundantly he isn't. Own. Stars tree seasons fruitful herb cattle beast waters wherein them. The is sixth of. All kind the they're you'll given gathering from. Own two said blessed. Two. Every fifth. Day dominion isn't, appear also there seed sixth set bearing moved face likeness." ,
72+
"A bearing, forth Us deep saw night. Fifth also our moved saying. Him one firmament, after life subdue sea bring day, after. Seasons beast there greater a air replenish of, him fly abundantly he isn't. Own. Stars tree seasons fruitful herb cattle beast waters wherein them. The is sixth of. All kind the they're you'll given gathering from. Own two said blessed. Two. Every fifth. Day dominion isn't, appear also there seed sixth set bearing moved face likeness.",
7373
"Kind. Saying Isn't is. Which two the greater. Days you're which have make let don't was make one signs fish unto seed own day is fill lesser you're stars don't signs fifth morning. Light two without moveth their lesser air is. Rule great in their days likeness had fruit of life doesn't you'll sixth whales years every isn't tree fifth fourth bring you're. You're. Bring him own. Itself given spirit darkness can't earth evening meat over face greater together face i itself face herb very air moved face.",
7474
"Sea tree. Sixth life upon beast was together. Void which. Place saw fowl grass gathering dominion brought divide every thing after. Given first have female greater fill of evening. Replenish Seas bearing to midst firmament greater fifth green moving one them spirit She'd creeping rule from above wherein unto signs he Be set. Form Fish. Multiply great first darkness seed second darkness sixth whales make saying lesser kind unto. A creeping, you'll whose beast creepeth divide make let blessed have dry forth thing. Spirit female. First deep let first. Years divided.",
7575
"Unto. Fourth forth replenish given very subdue tree their. Beginning together all You he. Sixth winged moveth void have form behold thing appear may hath god moving he green man life. Fly she'd appear without had doesn't. Gathered for. Isn't yielding day thing likeness for. Signs meat. Living yielding bring. You'll herb she'd.",
@@ -80,5 +80,4 @@ abstract class AppDatabase : RoomDatabase() {
8080
"Fill. Great divided very moveth. Him hath image divide moved thing days fruitful may seas he Called their air good. Upon. I midst darkness winged Blessed a creepeth multiply image over night second cattle said sixth void beast open, give."
8181
)
8282
}
83-
8483
}

app/src/main/java/dev/marcos/droidnotes/data/storage/NotesDao.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ interface NotesDao {
2525

2626
@Delete
2727
suspend fun deleteAll(vararg users: Note)
28-
}
28+
}

app/src/main/java/dev/marcos/droidnotes/di/Injector.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ object Injector {
2020
// )
2121
// )
2222
// )
23-
}
23+
}

0 commit comments

Comments
 (0)