mirror of
https://github.com/Kenshin/simpread.git
synced 2026-01-25 14:28:34 +00:00
Optimize bear & ulysses not usage by windows.
This commit is contained in:
parent
8b53a85827
commit
86e4566b8a
@ -159,6 +159,10 @@ export default class ReadCtlbar extends React.Component {
|
||||
if ( this.props.type.startsWith( "metaread::" ) || this.props.type.startsWith( "txtread::" ) ) {
|
||||
delete readItems.option;
|
||||
}
|
||||
if ( !/macintosh|mac os x/i.test(navigator.userAgent) ) {
|
||||
delete readItems.send.items.bear;
|
||||
delete readItems.send.items.ulysses;
|
||||
}
|
||||
storage.Safe( () => {
|
||||
storage.secret.webdav.forEach( item => {
|
||||
item = JSON.parse( item );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user