commit | 2919ee4c643d5d0a03b189d76ccb04e94fafc962 | [log] [tgz] |
---|---|---|
author | Don Turner <donturner@google.com> | Thu Apr 23 12:00:45 2020 +0100 |
committer | Don Turner <dturner@users.noreply.github.com> | Wed Apr 29 15:57:59 2020 +0100 |
tree | 7a51d6fc51b3f23aeb37414e19f4e1b3ca536e47 | |
parent | 0661cb04bef447bbfad0cad7a241b984b222618e [diff] |
Fixes #831
diff --git a/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/MainActivity.kt b/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/MainActivity.kt index 0659404..3370edb 100644 --- a/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/MainActivity.kt +++ b/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/MainActivity.kt
@@ -176,9 +176,9 @@ NativeInterface.enable(isAudioEnabled) if (isAudioEnabled) { - item.setIcon(R.drawable.ic_baseline_volume_off_24) + item.setIcon(R.drawable.ic_baseline_audio_is_enabled_24) } else { - item.setIcon(R.drawable.ic_baseline_volume_up_24) + item.setIcon(R.drawable.ic_baseline_audio_is_disabled_24) } true }
diff --git a/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/NativeInterface.kt b/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/NativeInterface.kt index deb18db..fb373b4 100644 --- a/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/NativeInterface.kt +++ b/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/NativeInterface.kt
@@ -78,7 +78,7 @@ } fun enable(enable: Boolean) { - Log.d("INTERFACE", "Enabling effects") + Log.d("INTERFACE", "Enabling effects: $enable") enablePassthroughNative(enable) }
diff --git a/apps/fxlab/app/src/main/res/drawable/ic_baseline_volume_off_24.xml b/apps/fxlab/app/src/main/res/drawable/ic_baseline_audio_is_disabled_24.xml similarity index 100% rename from apps/fxlab/app/src/main/res/drawable/ic_baseline_volume_off_24.xml rename to apps/fxlab/app/src/main/res/drawable/ic_baseline_audio_is_disabled_24.xml
diff --git a/apps/fxlab/app/src/main/res/drawable/ic_baseline_volume_up_24.xml b/apps/fxlab/app/src/main/res/drawable/ic_baseline_audio_is_enabled_24.xml similarity index 100% rename from apps/fxlab/app/src/main/res/drawable/ic_baseline_volume_up_24.xml rename to apps/fxlab/app/src/main/res/drawable/ic_baseline_audio_is_enabled_24.xml
diff --git a/apps/fxlab/app/src/main/res/menu/toolbar_menu.xml b/apps/fxlab/app/src/main/res/menu/toolbar_menu.xml index 424bf9d..b745be1 100644 --- a/apps/fxlab/app/src/main/res/menu/toolbar_menu.xml +++ b/apps/fxlab/app/src/main/res/menu/toolbar_menu.xml
@@ -5,7 +5,7 @@ <!-- Add a mute toggle action to our Toolbar--> <item android:id="@+id/action_toggle_mute" - android:icon="@drawable/ic_baseline_volume_off_24" + android:icon="@drawable/ic_baseline_audio_is_disabled_24" android:title="@string/action_toggle_mute" app:showAsAction="ifRoom" />