mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 20:39:24 +00:00
Move tracing configuration to the rust side.
This commit is contained in:
committed by
Stefan Ceriu
parent
2671d90bc1
commit
57b85d2650
+2
-2
@@ -152,7 +152,7 @@ struct DeveloperOptionsScreen: View {
|
||||
}
|
||||
|
||||
private struct LogLevelConfigurationView: View {
|
||||
@Binding var logLevel: TracingConfiguration.LogLevel
|
||||
@Binding var logLevel: LogLevel
|
||||
|
||||
var body: some View {
|
||||
Picker(selection: $logLevel) {
|
||||
@@ -166,7 +166,7 @@ private struct LogLevelConfigurationView: View {
|
||||
}
|
||||
|
||||
/// Allows the picker to work with associated values
|
||||
private var logLevels: [TracingConfiguration.LogLevel] {
|
||||
private var logLevels: [LogLevel] {
|
||||
[.error, .warn, .info, .debug, .trace]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user