theme: move TW_THEME_VERSION to variables.h

Automatically add the current theme version to the
splash and ui xmls during the build

Change-Id: I52f8cb41fabe34a8849ecc54ece3c0fb645dcd74
This commit is contained in:
Captain Throwback
2022-01-29 12:45:35 -05:00
parent 45a8d148b5
commit a1317fc7bb
13 changed files with 23 additions and 13 deletions
+1 -3
View File
@@ -53,9 +53,7 @@ extern "C" {
#include "objects.hpp"
#include "blanktimer.hpp"
// version 2 requires theme to handle power button as action togglebacklight
// version 4 adds fastbootd support
#define TW_THEME_VERSION 4
#include "../variables.h"
#define TW_THEME_VER_ERR -2