mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-03-16 18:48:34 +01:00
android: Update default birthday
Co-Authored-By: MisterSheeple <27652712+MisterSheeple@users.noreply.github.com>
This commit is contained in:
parent
e60b6e610a
commit
0371c4d7a4
@ -222,7 +222,7 @@ class SettingsActivity : AppCompatActivity(), SettingsActivityView {
|
|||||||
// Set default values for system config file
|
// Set default values for system config file
|
||||||
SystemSaveGame.apply {
|
SystemSaveGame.apply {
|
||||||
setUsername("AZAHAR")
|
setUsername("AZAHAR")
|
||||||
setBirthday(3, 25)
|
setBirthday(11, 7)
|
||||||
setSystemLanguage(1)
|
setSystemLanguage(1)
|
||||||
setSoundOutputMode(1)
|
setSoundOutputMode(1)
|
||||||
setCountryCode(49)
|
setCountryCode(49)
|
||||||
|
@ -382,7 +382,7 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
|
|||||||
override val section = null
|
override val section = null
|
||||||
override val isRuntimeEditable = false
|
override val isRuntimeEditable = false
|
||||||
override val valueAsString get() = short.toString()
|
override val valueAsString get() = short.toString()
|
||||||
override val defaultValue: Short = 3
|
override val defaultValue: Short = 11
|
||||||
}
|
}
|
||||||
add(
|
add(
|
||||||
SingleChoiceSetting(
|
SingleChoiceSetting(
|
||||||
@ -411,7 +411,7 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
|
|||||||
override val section = null
|
override val section = null
|
||||||
override val isRuntimeEditable = false
|
override val isRuntimeEditable = false
|
||||||
override val valueAsString get() = short.toString()
|
override val valueAsString get() = short.toString()
|
||||||
override val defaultValue: Short = 25
|
override val defaultValue: Short = 7
|
||||||
}
|
}
|
||||||
val birthdayMonth = SystemSaveGame.getBirthday()[0]
|
val birthdayMonth = SystemSaveGame.getBirthday()[0]
|
||||||
val daysInMonth = BirthdayMonth.getMonthFromCode(birthdayMonth)?.days ?: 31
|
val daysInMonth = BirthdayMonth.getMonthFromCode(birthdayMonth)?.days ?: 31
|
||||||
|
Loading…
x
Reference in New Issue
Block a user