Skip to content

Commit

Permalink
Ensure newline at end of files in Android example
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjort committed Jan 23, 2024
1 parent 8b2ede1 commit 8818a5d
Show file tree
Hide file tree
Showing 23 changed files with 21 additions and 24 deletions.
2 changes: 1 addition & 1 deletion concordium-android-sdk-examples/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ dependencies {
implementation("org.bitcoinj:bitcoinj-core:0.16.2") {
exclude(group="com.google.protobuf")
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
</activity>
</application>

</manifest>
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,4 @@ open class StorageAccessor(
this.sharedPreferences.edit().putString(key, value).apply()
cache = value
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,4 @@ fun AccountActivityPreview() {
Toast.LENGTH_SHORT
).show()
})
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,3 @@ fun IdentityView(identity: IdentityObject, createAccount: (identity: IdentityObj
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,3 @@ fun IdentityConfirmationView(identityUrl: String, onFinish: (identity: IdentityO
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ class RouterActivity: Activity() {
intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
startActivity(intent)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ fun SeedPhraseView(initialPhrase: String, onSubmit: (phrase: String) -> Unit) {
fun SeedPhraseActivityPreview() {
val context = LocalContext.current
SeedPhraseView("", onSubmit = { Toast.makeText(context, it, Toast.LENGTH_SHORT).show() })
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ object ConcordiumClientService {
fun getClient(): ClientV2 {
return client
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ class IdentityFetcherService {
}
throw Exception(response.message())
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ data class IdentityProviderMetaData(
val issuanceStart: String,
val support: String?,
val recoveryStart: String?
) : Serializable
) : Serializable
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ internal class ProxyBackendConfig(baseUrl: String, private val timeoutSeconds: L
.cache(null)
return okHttpClientBuilder.build()
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ fun Container(content: @Composable () -> Unit) {
content()
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ fun <Option> Menu(
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ fun ExampleTheme(
typography = Typography,
content = content
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>
</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>
</adaptive-icon>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<resources>
<string name="app_name">Android-sdk-example</string>
</resources>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<resources>

<style name="Theme.Androidsdkexample" parent="android:Theme.Material.Light.NoActionBar" />
</resources>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
<include domain="sharedpref" path="."/>
<exclude domain="sharedpref" path="device.xml"/>
-->
</full-backup-content>
</full-backup-content>
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
<exclude .../>
</device-transfer>
-->
</data-extraction-rules>
</data-extraction-rules>
2 changes: 1 addition & 1 deletion concordium-android-sdk-examples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
plugins {
id("com.android.application") version "8.2.0" apply false
id("org.jetbrains.kotlin.android") version "1.9.0" apply false
}
}
2 changes: 1 addition & 1 deletion concordium-android-sdk-examples/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.nonTransitiveRClass=true

0 comments on commit 8818a5d

Please sign in to comment.