Skip to content

Commit

Permalink
reorder dev groups and trace
Browse files Browse the repository at this point in the history
  • Loading branch information
hg42 committed Jul 27, 2024
1 parent e8fb40d commit 799feb8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
24 changes: 12 additions & 12 deletions src/main/java/com/machiav3lli/backup/OABX.kt
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ val pref_trace = BooleanPref(
defaultValue = isDebug || isHg42
)

val tracePlugin = TraceUtils.TracePref(
name = "Plugin",
summary = "trace plugins",
val traceSection = TraceUtils.TracePrefBold(
name = "Section",
summary = "trace important sections (backup, schedule, etc.)",
default = true
)

val traceSection = TraceUtils.TracePref(
name = "Section",
summary = "trace important sections (backup, schedule, etc.)",
val tracePlugin = TraceUtils.TracePref(
name = "Plugin",
summary = "trace plugins",
default = true
)

Expand All @@ -173,18 +173,18 @@ val traceSchedule = TraceUtils.TracePrefBold(
default = true
)

val traceFlows = TraceUtils.TracePrefBold(
name = "Flows",
summary = "trace Kotlin Flows (reactive data streams)",
default = true
)

val tracePrefs = TraceUtils.TracePref(
name = "Prefs",
summary = "trace preferences",
default = true
)

val traceFlows = TraceUtils.TracePrefBold(
name = "Flows",
summary = "trace Kotlin Flows (reactive data streams)",
default = true
)

val traceBusy = TraceUtils.TracePrefBold(
name = "Busy",
default = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,14 @@ fun DevPrefGroups() {
Column(
verticalArrangement = Arrangement.spacedBy(4.dp)
) {
PrefsGroupCollapsed(
prefs = devUserOptions,
heading = "advanced users (for those who know)"
)
PrefsGroupCollapsed(prefs = devHackOptions, heading = "workarounds (hacks)")
PrefsGroupCollapsed(prefs = devUserOptions, heading = "advanced users (those who know)")
PrefsGroupCollapsed(prefs = devAltOptions, heading = "alternates (to compare two variants)")
PrefsGroupCollapsed(prefs = devLogOptions, heading = "logging")
PrefsGroupCollapsed(prefs = devTraceOptions, heading = "tracing")
PrefsGroupCollapsed(prefs = devFileOptions, heading = "file handling")
PrefsGroupCollapsed(prefs = devFakeOptions, heading = "faking (simulated actions)")
PrefsGroupCollapsed(prefs = devHackOptions, heading = "workarounds (hacks)")
PrefsGroupCollapsed(prefs = devFakeOptions, heading = "faking (for testing)")
PrefsGroupCollapsed(prefs = devNewOptions, heading = "new experimental (for devs)")
PrefsGroupCollapsed(prefs = devAltOptions, heading = "alternates (for devs to compare)")
}
}

Expand Down

0 comments on commit 799feb8

Please sign in to comment.