Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
primayoriko committed Jun 7, 2021
1 parent 439caff commit 630443a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ These are some requirement app(s) and device(s), that you probably will need, to
2. JDK, this project using JDK v1.8 (JDK 8)
3. Android SDK, this project using SDK version 30
4. Kotlin, this project using Kotlin v1.5.10
5. Gradle
5. Gradle, this project using Gradle v7.x
6. Android device or use AVD (Android Virtual Device)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package my.primayoriko.mynote.ui.note
import android.os.Bundle
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.viewModels
import androidx.navigation.findNavController
import androidx.navigation.ui.AppBarConfiguration
import androidx.navigation.ui.navigateUp
Expand All @@ -13,7 +12,6 @@ import my.primayoriko.mynote.R
import my.primayoriko.mynote.databinding.ActivityNoteBinding
import androidx.preference.PreferenceManager
import my.primayoriko.mynote.constant.SeedData
import timber.log.Timber

@AndroidEntryPoint
class NoteActivity : AppCompatActivity() {
Expand Down Expand Up @@ -48,10 +46,6 @@ class NoteActivity : AppCompatActivity() {
val prefs = PreferenceManager.getDefaultSharedPreferences(this)
if (prefs.getBoolean("isFirstTime", true)) {
viewModel.seedData(SeedData.seedList)
Timber.d("executed\n")
Timber.d("executed\n")
Timber.d("executed\n")
Timber.d("executed\n")
val editor = prefs.edit()
editor.putBoolean("isFirstTime", false)
editor.apply()
Expand Down

0 comments on commit 630443a

Please sign in to comment.