Skip to content

Commit

Permalink
Store: Exploratory changes for GraphQL API
Browse files Browse the repository at this point in the history
  • Loading branch information
loathingKernel committed Apr 16, 2023
1 parent 6b5a87c commit ef12d34
Show file tree
Hide file tree
Showing 27 changed files with 2,228 additions and 847 deletions.
3 changes: 2 additions & 1 deletion rare/components/tabs/store/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from .game_info import ShopGameInfo
from .search_results import SearchResults
from .shop_api_core import ShopApiCore
from .api.models.response import CatalogOfferModel
from .shop_widget import ShopWidget
from .wishlist import WishlistWidget, Wishlist

Expand Down Expand Up @@ -61,7 +62,7 @@ def load(self):
self.shop.load()
self.wishlist.update_wishlist()

def show_game(self, data):
def show_game(self, data: CatalogOfferModel):
self.previous_index = self.currentIndex()
self.info.update_game(data)
self.setCurrentIndex(self.info_index)
Expand Down
2 changes: 1 addition & 1 deletion rare/components/tabs/store/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ def __init__(self):
window.setWindowTitle(f"{app.applicationName()} - Store")
window.resize(QSize(1280, 800))
window.show()
app.exec()
app.exec()
Empty file.
Empty file.
Loading

0 comments on commit ef12d34

Please sign in to comment.