diff options
author | Robin Jarry <robin@jarry.cc> | 2023-10-10 00:36:02 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-10-11 10:21:56 +0200 |
commit | 1300b2c81bf96ca143ded90a7f6af130006a516b (patch) | |
tree | afb65be011e1c6bb454a3075313c36bb9110ac5b /worker/worker.go | |
parent | 34650131379a4542538da63751a89588d2f2cc85 (diff) | |
download | aerc-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 'worker/worker.go')
0 files changed, 0 insertions, 0 deletions