mirror of
https://github.com/twinksoftware/Gearslip.git
synced 2026-11-10 16:02:25 +01:00
0.3.02-alpha: notes cover better calls, the Home row, and call audio over Bluetooth
This commit is contained in:
1 parent
fed652f9d3
commit
4b627bffdd
2 files changed
+10
-9
No files matched your search
@@ -135,11 +135,6 @@ object Intro {
|
||||
.apply()
|
||||
}
|
||||
|
||||
/** A replay from Settings starts at the first page. */
|
||||
fun replay(context: Context) {
|
||||
context.getSharedPreferences(PREFS, Context.MODE_PRIVATE).edit().remove(KEY_STEP).apply()
|
||||
}
|
||||
|
||||
/** The page the intro was on, so an app restart part-way through resumes there. */
|
||||
internal fun savedStep(context: Context): String? =
|
||||
context.getSharedPreferences(PREFS, Context.MODE_PRIVATE).getString(KEY_STEP, null)
|
||||
|
||||
Reference in new issue
Block a user