feat: add helpers for getting and using activation tokens in applets
refactor(applet): connect to privileged socket if available cleanup
This commit is contained in:
parent
c9554a8740
commit
ef5b6fb44a
9 changed files with 310 additions and 8 deletions
|
|
@ -1,12 +1,16 @@
|
|||
#[cfg(feature = "applet-token")]
|
||||
pub mod token;
|
||||
|
||||
use crate::{
|
||||
app::Core,
|
||||
cctk::sctk,
|
||||
iced::{
|
||||
self,
|
||||
alignment::{Horizontal, Vertical},
|
||||
widget::Container,
|
||||
window, Color, Length, Limits, Rectangle,
|
||||
},
|
||||
iced_style, iced_widget, sctk,
|
||||
iced_style, iced_widget,
|
||||
theme::{self, Button, THEME},
|
||||
widget, Application, Element, Renderer,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue