mobile: cleanup

This commit is contained in:
Ammar Ahmed
2023-11-30 11:21:32 +05:00
committed by Abdullah Atta
parent 1f94c47880
commit d595913722
3 changed files with 6 additions and 1 deletions

View File

@@ -297,6 +297,8 @@ export class VaultDialog extends Component {
type: "error",
context: "local"
});
} else {
ToastManager.error(e);
}
});
} else if (this.state.locked) {

View File

@@ -23,7 +23,6 @@ import { FlatList } from "react-native-actions-sheet";
import { db } from "../../common/database";
import { DDS } from "../../services/device-detection";
import { presentSheet } from "../../services/event-manager";
import SearchService from "../../services/search";
import { ColorValues } from "../../utils/colors";
import { SIZE } from "../../utils/size";
import SheetProvider from "../sheet-provider";
@@ -93,6 +92,10 @@ export const Properties = ({ close = () => {}, item, buttons = [] }) => {
{item.title}
</Heading>
{item.type === "notebook" && item.description ? (
<Paragraph>{item.description}</Paragraph>
) : null}
{item.type === "note" ? (
<TagStrip close={close} item={item} />
) : null}

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB