Skip to content

Commit 655b674

Browse files
committed
Cleanup
1 parent 79caa52 commit 655b674

File tree

1 file changed

+2
-2
lines changed
  • app/src/main/java/dev/zwander/installwithoptions

1 file changed

+2
-2
lines changed

app/src/main/java/dev/zwander/installwithoptions/App.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ class App : Application() {
3030
HiddenApiBypass.setHiddenApiExemptions("")
3131
}
3232

33-
if (Settings.Keys.enableCrashReports.getValue() == true) {
33+
if (Settings.Keys.enableCrashReports.getValue()) {
3434
startBugsnag()
3535
}
3636

3737
GlobalScope.launch(Dispatchers.IO) {
3838
Settings.Keys.enableCrashReports.asMutableStateFlow().collect {
39-
if (it == true && !Bugsnag.isStarted()) {
39+
if (it && !Bugsnag.isStarted()) {
4040
startBugsnag()
4141
}
4242
}

0 commit comments

Comments
 (0)