Skip to content

Commit

Permalink
Fix Android device settings - appearence (#34)
Browse files Browse the repository at this point in the history
Before: 
Device Settings / DEVICE APPEARANCE was non responsive

After: 
works properly 
 
Fixes: #33 



https://github.com/software-mansion-labs/react-native-ide/assets/159789821/03496507-258f-4b84-b82e-94264ee2a137

Co-authored-by: Filip Andrzej Kaminski <[email protected]>
  • Loading branch information
filip131311 and Filip Andrzej Kaminski authored Mar 27, 2024
1 parent 704daac commit c3d7ac7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ export class AndroidEmulatorDevice extends DeviceBase {
"system",
"font_scale",
convertToAdbFontSize(settings.contentSize).toString(),
"&&",
`cmd uimode night ${settings.appearance === "light" ? "no" : "yes"}`,
]);
}

Expand Down

0 comments on commit c3d7ac7

Please sign in to comment.