Skip to content

The app switches to the mobile view on hide #14

@antelle

Description

@antelle

Hi!
I noticed that the app switches to mobile mode after hide.

To reproduce:

  1. Hide the app using ⌘H
  2. Bring it back

It reloads and switches to mobile mode, I guess, it happens here.

To fix this, I added

app.views.Mobile.detect = () => false;

to integration.js userscript, after this line. Looks like it doesn't break anything and it doesn't switch anymore, but i don't like the solution very much, it's somewhat fragile.

Thanks for the app, finally there's a working DevDocs wrapper for macOS!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions