/*
  No overview at start-up
  GNOME Shell 46+ extension
  Contributors: @fthx
  License: GPL v3
*/

import * as Main from 'resource:///org/gnome/shell/ui/main.js';

export default class NoOverviewExtension {
    enable() {
        Main.layoutManager.connectObject('startup-complete', () => Main.overview.hide(), this);
    }

    disable() {
        Main.layoutManager.disconnectObject(this);
    }
}
