Unbreak things

This commit is contained in:
bleakgrey 2018-04-28 20:58:30 +03:00
parent 09bd3d6424
commit 2188399b5f
2 changed files with 3 additions and 1 deletions

View file

@ -105,6 +105,7 @@ public class Tootle.AccountManager : Object{
public void logout (){
current = null;
Tootle.settings.access_token = "null";
switched (null);
}

View file

@ -87,6 +87,7 @@ public class Tootle.AddAccountView : Tootle.AbstractView {
construct {
stack = new Stack ();
stack.valign = Gtk.Align.CENTER;
stack.vexpand = true;
stack.transition_type = StackTransitionType.SLIDE_LEFT_RIGHT;
grid_instance = new GridInstance ();
@ -104,7 +105,7 @@ public class Tootle.AddAccountView : Tootle.AbstractView {
stack.add_named (grid_instance, "instance");
stack.add_named (grid_code, "code");
add (stack);
view.add (stack);
show_all ();
}