mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-08 20:32:21 +08:00
修正SpkUi初始化中的亮暗色更改判断逻辑错误
This commit is contained in:
parent
8ac76b668e
commit
764f6eee73
@ -54,6 +54,7 @@ namespace SpkUi
|
||||
StylesheetBase = ObtainStylesheet.readAll();
|
||||
ObtainStylesheet.close();
|
||||
|
||||
CurrentStyle = SpkUiStyle::Invalid;
|
||||
SetGlobalStyle(Light, false);
|
||||
|
||||
// Initalize crash handler
|
||||
|
@ -16,7 +16,7 @@
|
||||
namespace SpkUi
|
||||
{
|
||||
|
||||
enum SpkUiStyle { Light, Dark };
|
||||
enum SpkUiStyle { Invalid, Light, Dark };
|
||||
enum SpkButtonStyle { Normal = 0, Recommend, Warn };
|
||||
|
||||
class SpkPopup;
|
||||
|
Loading…
x
Reference in New Issue
Block a user