Skip to content

Commit

Permalink
remove dependency on obsolete secrets.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mogery committed Aug 18, 2022
1 parent 6d41c79 commit 67d8ede
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions source/hola_scenes/hola_scene_auth.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@
#include "../hola/hola_input.hpp"
#include "../hola/hola_button.hpp"
#include "../hola/hola_fonts.hpp"
#include "secrets.h"

class HolaSceneAuth : public HolaStaticElement {
public:
int onInteract(HolaInteraction e);
int render(SDL_Renderer* renderer);

HolaSceneAuth(HolaRect rect) : HolaStaticElement(rect)
{
username.setContent(SPOTIFY_USERNAME);
password.setContent(SPOTIFY_PASSWORD);
}
HolaSceneAuth(HolaRect rect) : HolaStaticElement(rect) { }

protected:
TTF_Font* font_title = hola_get_font_pile().sans_bold48;
Expand Down
1 change: 0 additions & 1 deletion source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "protobuf-c.h"
#include "conv.h"
#include "log.h"
#include "secrets.h"
#include "spotify/apresolve.h"
#include "spotify/handshake.h"
#include "spotify/session.h"
Expand Down

0 comments on commit 67d8ede

Please sign in to comment.