This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,27 @@
// Metro module 12394 (f12395).
import { LoadingType, RowType, SeparatorAction } from "../RowGeneratorConstants";
import { createNativeStyleProperties } from "../../../../../design/components/Styles/native/createStyles";
import Module712 from "../../../../../_bundle/Module712";
const nativeStyleProperties = createNativeStyleProperties({
loadButtonBackgroundColor: Module712.colors.CONTROL_SECONDARY_BACKGROUND_DEFAULT,
loadButtonColor: Module712.colors.CONTROL_SECONDARY_TEXT_DEFAULT,
loadingColor: Module712.colors.ICON_SUBTLE
});
export function generateLoadingRowData({ rowType, changeType, text, isLoading }, a1) {
const r10 = nativeStyleProperties(a1);
return {
type: RowType.LOADING,
id: rowType,
button: {
action: {
type: rowType === LoadingType.LOAD_BEFORE ? SeparatorAction.LOAD_MORE_BEFORE : SeparatorAction.LOAD_MORE_AFTER
},
backgroundColor: r10.loadButtonBackgroundColor,
cornerRadius: 4,
text
},
color: isLoading ? r10.loadingColor : r10.loadButtonColor,
changeType,
isLoading
};
}