mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
refactor(bluetooth): remove Bluetooth::status_
The string was always overwritten in `update()`; don't need to store temporary value in the class.
This commit is contained in:
@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <fmt/chrono.h>
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "ALabel.hpp"
|
||||
#include "util/rfkill.hpp"
|
||||
#include "util/sleeper_thread.hpp"
|
||||
@ -16,7 +13,6 @@ class Bluetooth : public ALabel {
|
||||
auto update() -> void;
|
||||
|
||||
private:
|
||||
std::string status_;
|
||||
util::SleeperThread thread_;
|
||||
util::Rfkill rfkill_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user