use of com.ichi2.anki.dialogs.DeckPickerNoSpaceToDowngradeDialog.FileSizeFormatter in project Anki-Android by ankidroid.
the class DeckPicker method displayDowngradeFailedNoSpace.
public void displayDowngradeFailedNoSpace() {
Timber.w("Not enough space to downgrade");
FileSizeFormatter formatter = new FileSizeFormatter(this);
String collectionPath = CollectionHelper.getCollectionPath(this);
File collectionFile = new File(collectionPath);
showDialogFragment(DeckPickerNoSpaceToDowngradeDialog.newInstance(formatter, collectionFile));
}
Aggregations