Skip to content

Commit d8bf9c5

Browse files
authored
Moved FlipC screenshots (#143)
* Moved FlipC screenshots according to playmean/fap-list#12 (comment) * Fixed code smell
1 parent c11a722 commit d8bf9c5

File tree

6 files changed

+4
-6
lines changed

6 files changed

+4
-6
lines changed

.flipcorg/gallery/1.png

1.32 KB
Loading

.flipcorg/gallery/2.png

1.7 KB
Loading

.flipcorg/gallery/3.png

1.67 KB
Loading

.flipcorg/gallery/4.png

1.65 KB
Loading

services/config/token_info_iterator.c

+3-5
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,9 @@ static bool ensure_stream_ends_with_lf(Stream* stream) {
117117
return false;
118118
}
119119

120-
if(last_char != '\n') {
121-
const uint8_t lf = '\n';
122-
if(!stream_write(stream, &lf, 1)) {
123-
return false;
124-
}
120+
const uint8_t lf = '\n';
121+
if(last_char != lf && !stream_write(stream, &lf, 1)) {
122+
return false;
125123
}
126124

127125
if(!stream_seek(stream, original_pos, StreamOffsetFromStart)) {

ui/scenes/generate_token/totp_scene_generate_token.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ void totp_scene_generate_token_render(Canvas* const canvas, PluginState* plugin_
304304
if(totp_token_info_iterator_get_total_count(iterator_context) > 1) {
305305
canvas_draw_icon(canvas, 0, SCREEN_HEIGHT_CENTER - 24, &I_totp_arrow_left_8x9);
306306
canvas_draw_icon(
307-
canvas, SCREEN_WIDTH - 9, SCREEN_HEIGHT_CENTER - 24, &I_totp_arrow_right_8x9);
307+
canvas, SCREEN_WIDTH - 8, SCREEN_HEIGHT_CENTER - 24, &I_totp_arrow_right_8x9);
308308
}
309309

310310
#ifdef TOTP_AUTOMATION_ICONS_ENABLED

0 commit comments

Comments
 (0)