Skip to content

Commit

Permalink
Abandoning as it made the code too complicated
Browse files Browse the repository at this point in the history
  • Loading branch information
c-git committed Jan 31, 2024
1 parent 8072e6d commit 542db29
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ impl eframe::App for BrowseApp {
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
// assign sample text once it comes in
if let Some(promise) = &self.promise {
// TODO: Consume the promise and not allocate a new string
if let Some(result) = promise.ready() {
if let Some(text) = result {
self.sample_text = text.clone();
Expand Down

0 comments on commit 542db29

Please sign in to comment.