mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 03:15:31 -04:00
Cast RightToLeft value to boolean when retrieving from local storage.
This commit is contained in:
parent
b6c8386caf
commit
86beed0c5f
@ -70,7 +70,7 @@ const readerComponent = () => {
|
||||
if (savedRightToLeft === null) {
|
||||
this.enableRightToLeft = false;
|
||||
} else {
|
||||
this.enableRightToLeft = savedRightToLeft;
|
||||
this.enableRightToLeft = (savedRightToLeft === 'true');
|
||||
}
|
||||
})
|
||||
.catch(e => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user