Skip to content

Commit

Permalink
Merge pull request #439 from willowtreeapps/voc-407/enable-head-track…
Browse files Browse the repository at this point in the history
…ing-by-default

VOC-427 defaults head tracking to TRUE
  • Loading branch information
PaulKlauser authored Nov 14, 2023
2 parents fb23236 + d5c3a29 commit 9b3702e
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 9b3702e

Please sign in to comment.