File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
src/main/java/me/hackerchick/raisetoanswer
fastlane/metadata/android/en-US/changelogs Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ android {
99 applicationId " me.hackerchick.raisetoanswer"
1010 minSdkVersion 26
1111 targetSdkVersion 30
12- versionCode 31
13- versionName " 3.6.4 "
12+ versionCode 32
13+ versionName " 3.6.5 "
1414
1515 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1616 }
Original file line number Diff line number Diff line change @@ -155,6 +155,13 @@ class MainActivity : AppCompatActivity() {
155155 val beepBehaviour: SwitchCompat = binding.behaviourBeep
156156 val vibrateBehaviour: SwitchCompat = binding.behaviourVibrate
157157
158+ setAnswerFeature(Util .answerFeatureEnabled(applicationContext), false )
159+ setAnswerAllAnglesFeatureIfSupported(Util .answerAllAnglesFeatureEnabled(applicationContext))
160+ setDeclineFeatureIfSupported(Util .declineFeatureEnabled(applicationContext))
161+
162+ setBeepBehaviour(Util .beepBehaviourEnabled(applicationContext))
163+ setVibrateBehaviour(Util .vibrateBehaviourEnabled(applicationContext))
164+
158165 answerFeature.setOnCheckedChangeListener { _, isChecked ->
159166 setAnswerFeature(isChecked, true )
160167 }
@@ -175,13 +182,6 @@ class MainActivity : AppCompatActivity() {
175182 setVibrateBehaviour(isChecked)
176183 }
177184
178- setAnswerFeature(Util .answerFeatureEnabled(applicationContext), false )
179- setAnswerAllAnglesFeatureIfSupported(Util .answerAllAnglesFeatureEnabled(applicationContext))
180- setDeclineFeatureIfSupported(Util .declineFeatureEnabled(applicationContext))
181-
182- setBeepBehaviour(Util .beepBehaviourEnabled(applicationContext))
183- setVibrateBehaviour(Util .vibrateBehaviourEnabled(applicationContext))
184-
185185 // Debugging
186186 val debugLog: TextView = binding.debugLog
187187 debugLog.setOnClickListener {
Original file line number Diff line number Diff line change 1+ Fixed answer at any angle getting unset after reopening the app
You can’t perform that action at this time.
0 commit comments