Skip to content

Commit 99e8ceb

Browse files
committed
* Updated to FuriString
* Build for Unleashed and Official firmware
1 parent e85da67 commit 99e8ceb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+81
-169
lines changed

application.fam

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ App(
88
"gui",
99
"cli",
1010
"dialogs",
11-
"storage"
11+
"storage",
12+
"input",
13+
"notification"
1214
],
1315
provides=["totp_start"],
1416
stack_size=2 * 1024,
1517
order=20,
1618
fap_category="Misc",
17-
fap_icon="totp_10px.png",
19+
fap_icon="totp_10px.png"
1820
)
1921

2022
App(

scenes/add_new_token/totp_input_text.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _TOTP_INPUT_TEXT_H_
2-
#define _TOTP_INPUT_TEXT_H_
1+
#pragma once
32

43
#include <gui/gui.h>
54
#include <gui/view.h>
@@ -37,5 +36,3 @@ InputTextSceneState* totp_input_text_activate(InputTextSceneContext* context);
3736
void totp_input_text_render(Canvas* const canvas, InputTextSceneState* text_input_state);
3837
bool totp_input_text_handle_event(PluginEvent* const event, InputTextSceneState* text_input_state);
3938
void totp_input_text_free(InputTextSceneState* state);
40-
41-
#endif

scenes/add_new_token/totp_scene_add_new_token.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#include "totp_scene_add_new_token.h"
22
#include "../../types/common.h"
3-
#include "../../lib/ui/constants.h"
3+
#include "../../services/ui/constants.h"
44
#include "../scene_director.h"
55
#include "totp_input_text.h"
66
#include "../../types/token_info.h"
7-
#include "../../lib/list/list.h"
8-
#include "../../lib/base32/base32.h"
9-
#include "../../lib/config/config.h"
10-
#include "../../lib/ui/ui_controls.h"
7+
#include "../../services/list/list.h"
8+
#include "../../services/base32/base32.h"
9+
#include "../../services/config/config.h"
10+
#include "../../services/ui/ui_controls.h"
1111
#include "../generate_token/totp_scene_generate_token.h"
1212

1313
#define TOKEN_ALGO_LIST_LENGTH 3

scenes/add_new_token/totp_scene_add_new_token.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _TOTP_SCENE_ADD_NEW_TOKEN_H_
2-
#define _TOTP_SCENE_ADD_NEW_TOKEN_H_
1+
#pragma once
32

43
#include <gui/gui.h>
54
#include <furi.h>
@@ -17,5 +16,3 @@ void totp_scene_add_new_token_render(Canvas* const canvas, PluginState* plugin_s
1716
bool totp_scene_add_new_token_handle_event(PluginEvent* const event, PluginState* plugin_state);
1817
void totp_scene_add_new_token_deactivate(PluginState* plugin_state);
1918
void totp_scene_add_new_token_free(PluginState* plugin_state);
20-
21-
#endif

scenes/authenticate/totp_scene_authenticate.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#include "totp_scene_authenticate.h"
22
#include <dialogs/dialogs.h>
33
#include "../../types/common.h"
4-
#include "../../lib/ui/icons.h"
5-
#include "../../lib/ui/constants.h"
6-
#include "../../lib/config/config.h"
4+
#include "../../services/ui/icons.h"
5+
#include "../../services/ui/constants.h"
6+
#include "../../services/config/config.h"
77
#include "../scene_director.h"
88
#include "../totp_scenes_enum.h"
99

scenes/authenticate/totp_scene_authenticate.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _TOTP_SCENE_AUTHENTICATE_H_
2-
#define _TOTP_SCENE_AUTHENTICATE_H_
1+
#pragma once
32

43
#include <gui/gui.h>
54
#include <furi.h>
@@ -13,5 +12,3 @@ void totp_scene_authenticate_render(Canvas* const canvas, PluginState* plugin_st
1312
bool totp_scene_authenticate_handle_event(PluginEvent* const event, PluginState* plugin_state);
1413
void totp_scene_authenticate_deactivate(PluginState* plugin_state);
1514
void totp_scene_authenticate_free(PluginState* plugin_state);
16-
17-
#endif

scenes/generate_token/totp_scene_generate_token.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
#include "totp_scene_generate_token.h"
55
#include "../../types/token_info.h"
66
#include "../../types/common.h"
7-
#include "../../lib/ui/icons.h"
8-
#include "../../lib/ui/constants.h"
9-
#include "../../lib/totp/totp.h"
10-
#include "../../lib/config/config.h"
7+
#include "../../services/ui/icons.h"
8+
#include "../../services/ui/constants.h"
9+
#include "../../services/totp/totp.h"
10+
#include "../../services/config/config.h"
1111
#include "../scene_director.h"
1212
#include "../token_menu/totp_scene_token_menu.h"
1313

scenes/generate_token/totp_scene_generate_token.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _TOTP_SCENE_GENERATE_TOKEN_H_
2-
#define _TOTP_SCENE_GENERATE_TOKEN_H_
1+
#pragma once
32

43
#include <gui/gui.h>
54
#include <furi.h>
@@ -17,5 +16,3 @@ void totp_scene_generate_token_render(Canvas* const canvas, PluginState* plugin_
1716
bool totp_scene_generate_token_handle_event(PluginEvent* const event, PluginState* plugin_state);
1817
void totp_scene_generate_token_deactivate(PluginState* plugin_state);
1918
void totp_scene_generate_token_free(PluginState* plugin_state);
20-
21-
#endif

scenes/scene_director.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _SCENE_DIRECTOR_H_
2-
#define _SCENE_DIRECTOR_H_
1+
#pragma once
32

43
#include <gui/gui.h>
54
#include "../types/plugin_state.h"
@@ -12,5 +11,3 @@ void totp_scene_director_init_scenes(PluginState* const plugin_state);
1211
void totp_scene_director_render(Canvas* const canvas, PluginState* const plugin_state);
1312
void totp_scene_director_dispose(PluginState* const plugin_state);
1413
bool totp_scene_director_handle_event(PluginEvent* const event, PluginState* const plugin_state);
15-
16-
#endif

scenes/token_menu/totp_scene_token_menu.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#include "totp_scene_token_menu.h"
22
#include <gui/gui.h>
33
#include <dialogs/dialogs.h>
4-
#include "../../lib/ui/ui_controls.h"
5-
#include "../../lib/ui/constants.h"
4+
#include "../../services/ui/ui_controls.h"
5+
#include "../../services/ui/constants.h"
66
#include "../scene_director.h"
7-
#include "../../lib/config/config.h"
8-
#include "../../lib/list/list.h"
7+
#include "../../services/config/config.h"
8+
#include "../../services/list/list.h"
99
#include "../../types/token_info.h"
1010
#include "../generate_token/totp_scene_generate_token.h"
1111
#include "../add_new_token/totp_scene_add_new_token.h"

0 commit comments

Comments
 (0)