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:
Ashley Wulber 2023-11-14 16:55:06 -05:00 committed by Ashley Wulber
parent c9554a8740
commit ef5b6fb44a
9 changed files with 310 additions and 8 deletions

View file

@ -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,
};