diff --git a/src/AccountManager.vala b/src/AccountManager.vala index 9d362f5..57e8829 100644 --- a/src/AccountManager.vala +++ b/src/AccountManager.vala @@ -105,6 +105,7 @@ public class Tootle.AccountManager : Object{ public void logout (){ current = null; + Tootle.settings.access_token = "null"; switched (null); } diff --git a/src/Views/AddAccountView.vala b/src/Views/AddAccountView.vala index e98b6f1..d3494bf 100644 --- a/src/Views/AddAccountView.vala +++ b/src/Views/AddAccountView.vala @@ -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 (); }