Skip to content

Commit

Permalink
Merge pull request #19 from acegoal07/Momentum_Support
Browse files Browse the repository at this point in the history
Just some small tweaks
  • Loading branch information
acegoal07 authored Apr 12, 2024
2 parents c1a5bee + cda4499 commit 2481c5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scenes/nfc_playlist_scene_name_new_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ void nfc_playlist_name_new_file_menu_callback(void* context) {
File* file = storage_file_alloc(storage);
if (storage_file_open(file, furi_string_get_cstr(file_name), FSAM_READ_WRITE, FSOM_CREATE_NEW)) {
storage_file_close(file);
furi_string_move(nfc_playlist->settings.file_path, file_name);
furi_string_swap(nfc_playlist->settings.file_path, file_name);
}
storage_file_free(file);
}
Expand Down
2 changes: 1 addition & 1 deletion scenes/nfc_playlist_scene_playlist_select.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

void nfc_playlist_playlist_select_menu_callback(void* context) {
NfcPlaylist* nfc_playlist = context;
furi_string_move(nfc_playlist->settings.file_path, nfc_playlist->file_browser_output);
furi_string_swap(nfc_playlist->settings.file_path, nfc_playlist->file_browser_output);
furi_string_reset(nfc_playlist->file_browser_output);
scene_manager_previous_scene(nfc_playlist->scene_manager);
}
Expand Down

0 comments on commit 2481c5e

Please sign in to comment.