Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move livemarkdown namespace to expensify namespace on Android #640

Merged
merged 1 commit into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions android/src/main/new_arch/MarkdownCommitHook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using namespace facebook;
using namespace react;

namespace expensify {
namespace livemarkdown {

MarkdownCommitHook::MarkdownCommitHook(
Expand Down Expand Up @@ -188,3 +189,4 @@ RootShadowNode::Unshared MarkdownCommitHook::shadowTreeWillCommit(
}

} // namespace livemarkdown
} // namespace expensify
2 changes: 2 additions & 0 deletions android/src/main/new_arch/MarkdownCommitHook.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
using namespace facebook;
using namespace react;

namespace expensify {
namespace livemarkdown {

struct MarkdownTextInputDecoratorPair {
Expand Down Expand Up @@ -54,3 +55,4 @@ class MarkdownCommitHook : public UIManagerCommitHook {
};

} // namespace livemarkdown
} // namespace expensify
2 changes: 2 additions & 0 deletions android/src/main/new_arch/NativeProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include "NativeProxy.h"

namespace expensify {
namespace livemarkdown {

using namespace facebook;
Expand Down Expand Up @@ -36,3 +37,4 @@ NativeProxy::initHybrid(jni::alias_ref<jhybridobject> jThis) {
}

} // namespace livemarkdown
} // namespace expensify
2 changes: 2 additions & 0 deletions android/src/main/new_arch/NativeProxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include "MarkdownCommitHook.h"

namespace expensify {
namespace livemarkdown {

using namespace facebook;
Expand Down Expand Up @@ -35,3 +36,4 @@ class NativeProxy : public jni::HybridClass<NativeProxy> {
};

} // namespace livemarkdown
} // namespace expensify
2 changes: 1 addition & 1 deletion android/src/main/new_arch/OnLoad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *) {
return facebook::jni::initialize(
vm, [] { livemarkdown::NativeProxy::registerNatives(); });
vm, [] { expensify::livemarkdown::NativeProxy::registerNatives(); });
}