Merge pull request #334 from M4xi1m3/omega-dev

[apps/external] Fixed extapps not displayed on device since #333
This commit is contained in:
Quentin
2020-05-05 16:43:10 +02:00
committed by GitHub
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