@ -50,7 +50,7 @@ fun MacrobenchmarkScope.interestsToggleBookmarked() {
}
fun MacrobenchmarkScope.setAppTheme(isDark: Boolean) {
when (isDark){
when (isDark) {
true -> device.findObject(By.text("Dark")).click()
false -> device.findObject(By.text("Light")).click()
@ -1,5 +1,5 @@
/*
* Copyright 2023 The Android Open Source Project
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.