Remove unused method

This commit is contained in:
Nathan Sobo 2023-08-07 22:08:44 -06:00
parent d687c3d81f
commit 0f332238b3

View file

@ -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>( pub fn read_window<T, F: FnOnce(&WindowContext) -> T>(
&self, &self,
window_id: usize, window_id: usize,