Make `MutableAppContext::prompt` private

Antonio Scandurra created

...as we're supposed to call this method only via ViewContext.

Change summary

gpui/src/app.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

gpui/src/app.rs 🔗

@@ -578,7 +578,7 @@ impl MutableAppContext {
         self.platform.set_menus(menus);
     }
 
-    pub fn prompt<F>(
+    fn prompt<F>(
         &self,
         window_id: usize,
         level: PromptLevel,