Skip to content

Commit

Permalink
Moved FlipC screenshots (#143)
Browse files Browse the repository at this point in the history
* Moved FlipC screenshots according to playmean/fap-list#12 (comment)

* Fixed code smell
  • Loading branch information
akopachov authored Apr 26, 2023
1 parent c11a722 commit d8bf9c5
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 6 deletions.
Binary file added .flipcorg/gallery/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .flipcorg/gallery/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .flipcorg/gallery/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .flipcorg/gallery/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 3 additions & 5 deletions services/config/token_info_iterator.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,9 @@ static bool ensure_stream_ends_with_lf(Stream* stream) {
return false;
}

if(last_char != '\n') {
const uint8_t lf = '\n';
if(!stream_write(stream, &lf, 1)) {
return false;
}
const uint8_t lf = '\n';
if(last_char != lf && !stream_write(stream, &lf, 1)) {
return false;
}

if(!stream_seek(stream, original_pos, StreamOffsetFromStart)) {
Expand Down
2 changes: 1 addition & 1 deletion ui/scenes/generate_token/totp_scene_generate_token.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ void totp_scene_generate_token_render(Canvas* const canvas, PluginState* plugin_
if(totp_token_info_iterator_get_total_count(iterator_context) > 1) {
canvas_draw_icon(canvas, 0, SCREEN_HEIGHT_CENTER - 24, &I_totp_arrow_left_8x9);
canvas_draw_icon(
canvas, SCREEN_WIDTH - 9, SCREEN_HEIGHT_CENTER - 24, &I_totp_arrow_right_8x9);
canvas, SCREEN_WIDTH - 8, SCREEN_HEIGHT_CENTER - 24, &I_totp_arrow_right_8x9);
}

#ifdef TOTP_AUTOMATION_ICONS_ENABLED
Expand Down

0 comments on commit d8bf9c5

Please sign in to comment.