[apps/external] Fixed extapps not displayed on device since #333

This commit is contained in:
M4x1m3
2020-05-05 11:42:48 +02:00
parent bb9f52b355
commit efac211a13
2 changed files with 3 additions and 4 deletions

View File

@@ -131,7 +131,7 @@ void MainController::willDisplayCellForIndex(HighlightCell * cell, int index) {
void MainController::viewWillAppear() {
int count;
#if defined(DEVICE) || defined(EXTERNAL_BUILTIN)
#if defined(DEVICE_N0100) || !defined(EXTERNAL_BUILTIN)
#if !defined(DEVICE_N0110) && !defined(EXTERNAL_BUILTIN)
count = 2;
#else
if(numberOfFiles() > 0){

View File

@@ -58,11 +58,10 @@ endif
ifeq ("$(PLATFORM)", "device")
SFLAGS += -DPLATFORM_DEVICE
ifeq ("$(MODEL)", "n0110")
SFLAGS += -DDEVICE_N0110
endif
ifeq ("$(MODEL)", "n0100")
SFLAGS += -DDEVICE_N0100
else
SFLAGS += -DDEVICE_N0110
endif
endif