Skip to content

Commit

Permalink
fomat code
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocle2497 committed Oct 4, 2021
1 parent 63acdb5 commit 65f1486
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ public void createChannel(ReadableMap channelInfo, Promise promise) {
boolean created = mNotificationHelper.createChannel(channelInfo);
promise.resolve(created);
}
@ReactMethod

@ReactMethod
public void mmkvSetString(String keyName, String value, String keyId, String cryptKey, Promise promise) {
mmkvStorage.setValue(keyName, value, keyId, cryptKey);
promise.resolve(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
import com.facebook.react.bridge.ReactApplicationContext;
import com.tencent.mmkv.MMKV;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class MMKVStorage {
private Context context;

Expand Down
1 change: 0 additions & 1 deletion template/src/app/library/utils/storage/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
/* eslint-disable @typescript-eslint/no-explicit-any */
import {MMKVOption, MMKVStorage} from '@common';
import {StyleSheet} from 'react-native';
Expand Down

0 comments on commit 65f1486

Please sign in to comment.