mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Resolve work switch drawable RTL issue
Bug: 153680914 Test: Manual Change-Id: I54f0240b8845c89f96bf61705fea0dff74c68668
This commit is contained in:
@@ -73,7 +73,7 @@ public class WorkModeSwitch extends Switch implements Insettable {
|
||||
|
||||
private void setCheckedInternal(boolean checked) {
|
||||
super.setChecked(checked);
|
||||
setCompoundDrawablesWithIntrinsicBounds(
|
||||
setCompoundDrawablesRelativeWithIntrinsicBounds(
|
||||
checked ? R.drawable.ic_corp : R.drawable.ic_corp_off, 0, 0, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user