Skip to content

The app switches to the mobile view on hide #14

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!

Activity

  1. dteoh commented on Sep 18, 2019

    @dteoh
    Owner

    Thanks, I will have to investigate again, because that was the original solution which ended up breaking.

  2. dteoh commented on Sep 21, 2019

    @dteoh
    Owner

    It should be fixed in v0.4.3.

  3. antelle commented on Sep 21, 2019

    @antelle
    Author

    It works, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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