Skip to content

Commit

Permalink
voc-407 defaults head tracking to TRUE
Browse files Browse the repository at this point in the history
  • Loading branch information
IanCrossCD committed Nov 14, 2023
1 parent fb23236 commit d5c3a29
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ class VocableSharedPreferences : KoinComponent {
}

fun getHeadTrackingEnabled(): Boolean =
encryptedPrefs.getBoolean(KEY_HEAD_TRACKING_ENABLED, false)
encryptedPrefs.getBoolean(KEY_HEAD_TRACKING_ENABLED, true)

fun setFirstTime() {
encryptedPrefs.edit().putBoolean(KEY_FIRST_TIME, false).apply()
}

fun getFirstTime(): Boolean =
encryptedPrefs.getBoolean(KEY_FIRST_TIME, true)
}
}

0 comments on commit d5c3a29

Please sign in to comment.