Skip to content

Commit

Permalink
WIP mime
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Dec 17, 2024
1 parent 7315542 commit cc5c224
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/view/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ struct Mime {}

impl cosmic::iced::clipboard::mime::AsMimeTypes for Mime {
fn available(&self) -> Cow<'static, [String]> {
(&[]).into()
// TODO
vec![crate::TOPLEVEL_MIME.clone()].into()
}

fn as_bytes(&self, mime_type: &str) -> Option<Cow<'static, [u8]>> {
Expand Down

0 comments on commit cc5c224

Please sign in to comment.