Align phone header actions right
This commit is contained in:
+6
-1
@@ -778,7 +778,12 @@ func TestUIPhoneGroupBrowserToggleDoesNotChangeCurrentGroupToolsState(t *testing
|
||||
func TestUIPhoneStartsWithGroupToolsCollapsed(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
u := newUIWithModel("phone", vault.Model{})
|
||||
u := newUIWithSession("phone", &session.Manager{}, statePaths{
|
||||
DefaultSaveAsPath: filepath.Join(t.TempDir(), "default-save-path.kdbx"),
|
||||
RecentVaultsPath: filepath.Join(t.TempDir(), "recent-vaults.json"),
|
||||
RecentRemotesPath: filepath.Join(t.TempDir(), "recent-remotes.json"),
|
||||
UIPreferencesPath: filepath.Join(t.TempDir(), "ui-preferences.json"),
|
||||
})
|
||||
if !u.groupControlsHidden {
|
||||
t.Fatal("groupControlsHidden = false, want phone Group Tools collapsed by default")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user