[code] Add a pop up to warn about beta version

Change-Id: I4301c7a53d0d43bb1e322b9e3e1587ec2040e0b8
This commit is contained in:
Émilie Feral
2017-08-09 17:31:35 +02:00
parent ad3b0365a6
commit f434cda428
6 changed files with 34 additions and 4 deletions

View File

@@ -8,6 +8,8 @@ extern "C" {
#include "py/stackctrl.h"
}
namespace Code {
mp_obj_t execute_from_str(const char *str) {
nlr_buf_t nlr;
if (nlr_push(&nlr) == 0) {
@@ -53,7 +55,6 @@ void EditorController::didBecomeFirstResponder() {
app()->setFirstResponder(&m_view);
}
View * EditorController::view() {
return &m_view;
}
@@ -87,3 +88,5 @@ bool EditorController::handleEvent(Ion::Events::Event event) {
}
return false;
}
}