Make MutableAppContext::prompt private
...as we're supposed to call this method only via ViewContext.
This commit is contained in:
+1
-1
@@ -578,7 +578,7 @@ impl MutableAppContext {
|
||||
self.platform.set_menus(menus);
|
||||
}
|
||||
|
||||
pub fn prompt<F>(
|
||||
fn prompt<F>(
|
||||
&self,
|
||||
window_id: usize,
|
||||
level: PromptLevel,
|
||||
|
||||
Reference in New Issue
Block a user