This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun Typography.withoutFontPadding() = remember(this) { | |
val platformStyle = PlatformTextStyle(includeFontPadding = false) | |
this.copy( | |
display1 = this.display1.copy(platformStyle = platformStyle), | |
display2 = this.display2.copy(platformStyle = platformStyle), | |
display3 = this.display3.copy(platformStyle = platformStyle), | |
title1 = this.title1.copy(platformStyle = platformStyle), | |
title2 = this.title2.copy(platformStyle = platformStyle), | |
title3 = this.title3.copy(platformStyle = platformStyle), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FirebaseNotificationReceiver extends WakefulBroadcastReceiver { | |
private static final String ACTION_TO_SKIP = "com.google.android.c2dm.intent.RECEIVE"; | |
@Inject | |
DataManager data; | |
public FirebaseNotificationReceiver() { | |
super(); | |
App.getAppComponent().inject(this); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TrackHelper class | |
public Dimension dimension(int id, String value) { | |
return new Dimension(mBaseTrackMe).dimension(id, value); | |
} | |
public static class Dimension extends TrackHelper { | |
// TrackMe - track event that is collected by dispatcher and send to server | |
Dimension(TrackMe base) { | |
super(base); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.google.appinventor.components.runtime; | |
import android.content.res.AssetManager; | |
import android.os.Environment; | |
import com.google.appinventor.components.annotations.*; | |
import com.google.appinventor.components.common.ComponentCategory; | |
import com.google.appinventor.components.common.PropertyTypeConstants; | |
import com.google.appinventor.components.common.YaVersion; | |
import com.google.appinventor.components.runtime.util.FileUtil; | |