Skip to content

Commit

Permalink
Update flatpak build script
Browse files Browse the repository at this point in the history
  • Loading branch information
xfangfang committed Oct 14, 2024
1 parent 83a8347 commit 8b068db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .flatpak-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ modules:
buildsystem: meson
config-opts:
- -Dlibmpv=true
- -Dlua=disabled
- -Dlua=enabled
- -Ddebug=false
- -Dbuild-date=false
- -Dcplayer=false
Expand Down Expand Up @@ -191,7 +191,7 @@ modules:
- -DGLFW_BUILD_WAYLAND=ON
- -DGLFW_BUILD_X11=ON
- -DUSE_SYSTEM_CURL=ON
- -USE_GLES2=OFF
- -DUSE_GLES2=OFF
- -DBRLS_UNITY_BUILD=ON
- -DCMAKE_UNITY_BUILD_BATCH_SIZE=16
builddir: true
Expand Down
2 changes: 1 addition & 1 deletion wiliwili/source/activity/search_activity_tv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ void TVSearchActivity::onContentAvailable() {

// 强制设置搜索历史的 TabBar 为输入栏
// 在清空历史时,会尝试将焦点切换到对应的 TabBar,这时在 TV 搜索页就能刚好将焦点切换到输入栏
searchHistory->setTabBar((AutoSidebarItem*) inputLabel.getView()->getParent());
searchHistory->setTabBar(reinterpret_cast<AutoSidebarItem*>(inputLabel.getView()->getParent()));
}

TVSearchActivity::~TVSearchActivity() { brls::Logger::debug("TVSearchActivity: delete"); }
Expand Down
4 changes: 2 additions & 2 deletions wiliwili/source/view/grid_dropdown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ BaseDropdown::BaseDropdown(const std::string& title, ValueSelectedEvent::Callbac
RecyclingGrid* BaseDropdown::getRecyclingList() { return recycler; }

void BaseDropdown::setDataSource(DataSourceDropdown* dataSource) {
// 当设置的选中项为 0xFFFFFFFF (-1) 时,表示不选中任何项,但是焦点位于第一项
recycler->setDefaultCellFocus(selected == 0xFFFFFFFF ? 0 : selected);
// 当设置的选中项为 -1 时,表示不选中任何项,但是焦点位于第一项
recycler->setDefaultCellFocus(selected == -1 ? 0 : selected);
recycler->setDataSource(dataSource);

brls::Style style = brls::Application::getStyle();
Expand Down

0 comments on commit 8b068db

Please sign in to comment.