repacker: update partition details after switching slot
Change-Id: I9f6f396530ad40f70c02c917b01e9b8158add773
diff --git a/twrpRepacker.cpp b/twrpRepacker.cpp
index dfe9cc9..5164567 100755
--- a/twrpRepacker.cpp
+++ b/twrpRepacker.cpp
@@ -216,6 +216,7 @@
else
PartitionManager.Override_Active_Slot("A");
DataManager::SetProgress(.25);
+ PartitionManager.Update_System_Details();
if (!Backup_Image_For_Repack(part, REPACK_ORIG_DIR, Repack_Options.Backup_First, gui_lookup("repack", "Repack")))
return false;
if (TWFunc::copy_file(REPACK_NEW_DIR "ramdisk.cpio", REPACK_ORIG_DIR "ramdisk.cpio", 0644)) {