aboutsummaryrefslogtreecommitdiffstats
path: root/commands/new-account.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-10-10 00:36:02 +0200
committerRobin Jarry <robin@jarry.cc>2023-10-11 10:21:56 +0200
commit1300b2c81bf96ca143ded90a7f6af130006a516b (patch)
treeafb65be011e1c6bb454a3075313c36bb9110ac5b /commands/new-account.go
parent34650131379a4542538da63751a89588d2f2cc85 (diff)
downloadaerc-1300b2c81bf96ca143ded90a7f6af130006a516b.tar.gz
ui: export global functions
There is no need for an UI object. The Aerc.ui field is unused. And there is a single instance of it anyway. Move the object's public fields as global variables and change methods to public functions. This makes the code cleaner and removes boilerplate. Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'commands/new-account.go')
0 files changed, 0 insertions, 0 deletions