Remove unused method

Nathan Sobo created

Change summary

crates/gpui/src/app/test_app_context.rs | 7 -------
1 file changed, 7 deletions(-)

Detailed changes

crates/gpui/src/app/test_app_context.rs 🔗

@@ -125,13 +125,6 @@ impl TestAppContext {
         }
     }
 
-    pub fn window<V: View>(&self, window_id: usize) -> Option<WindowHandle<V>> {
-        self.cx
-            .borrow()
-            .read_window(window_id, |cx| cx.window())
-            .flatten()
-    }
-
     pub fn read_window<T, F: FnOnce(&WindowContext) -> T>(
         &self,
         window_id: usize,